Report custom device metric via REST API

The Topology & Smartscape—Custom device API enables you to send a custom metric data point to a custom device in Dynatrace. This request is also able to update the metadata of the custom device.

You can send data to the custom device retrospectively—the custom device endpoint supports the reporting of data up to one hour in the past. However, to ensure the proper functioning of AI root-cause analysis and metric-based alerting, we recommend that data be sent in real time.

For this use case, the series element of the request body is required.

The request consumes and produces an application/json payload.

POST
  • Managed https://{your-domain}/e/{your-environment-id}/api/v1/entity/infrastructure/custom/{customDeviceId}
  • SaaS https://{your-environment-id}.live.dynatrace.com/api/v1/entity/infrastructure/custom/{customDeviceId}

See Create custom device via Dynatrace API to learn how to create custom device without sending data to it.