provider Spans Metrics POST /api/v2/apm/config/metrics
@utdk/datadog /api/v2/apm/config/metrics
Create a span-based metric
Create a metric based on your ingested spans in your organization. Returns the span-based metric object from the request body when the request is successful.

Try it

Authentication
Configure credentials for Datadog API V2 Collection
createspansmetric
POST/api/v2/apm/config/metrics
Create a metric based on your ingested spans in your organization. Returns the span-based metric object from the request body when the request is successful.

Input

required

The new span-based metric properties.

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import datadog from '@utdk/datadog';

await datadog.createspansmetric()