provider Rum Metrics POST /api/v2/rum/config/metrics
@utdk/datadog /api/v2/rum/config/metrics
Create a rum-based metric
Create a metric based on your organization's RUM data. Returns the rum-based metric object from the request body when the request is successful.

Try it

Authentication
Configure credentials for Datadog API V2 Collection
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

createrummetric
POST/api/v2/rum/config/metrics
Create a metric based on your organization's RUM data. Returns the rum-based metric object from the request body when the request is successful.

Input

required

The new rum-based metric properties.

Enter a gateway URL above to enable sending.

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

TypeScript

import datadog from '@utdk/datadog';

await datadog.createrummetric()