OpenTelemetry metrics ingest API
The OpenTelemetry metrics ingest API ingests OpenTelemetry metrics into Dynatrace. Use this endpoint as a target for OpenTelemetry exporters.
The exporter can send data to one or more backends and is configured either as part of a collector in the collector's YAML file, or directly in your application's code.
Where to find the code:
- Collector: configure your exporter under the exporters section in the collector's YAML file. Use
otlphttpto send metrics to Dynatrace.
- Code: where to put your exporter configuration differs from language to language. Go to OpenTelemetry metrics and choose the language of your application from the menu to find the language-specific instructions.
The endpoint consumes a request with a
To execute this request, you need an access token with Ingest metrics (
metrics.ingest) scope. To learn how to obtain and use it, see Tokens and authentication.
An ExportMetricServiceRequest message in binary protobuf format.
Request body objects
The object doesn't provide any parameters.
Request body JSON model
This is a model of the request body, showing the possible elements. It has to be adjusted for usage in an actual request.
[ "string" ]
The request has been received and will be processed.
The request could not be processed. This may happen if the message is malformed.
The request could not be processed due to an internal server error.
The service is currently unavailable. This may happen if the module is paused.