Dynatrace Registry: Export units and descriptions (original) (raw)

Please describe the feature request
The Micrometer API allows for defining a description and baseUnit upon Meter creation.
The Dynatrace metrics ingestion API used by the Dynatrace Micrometer registry allows for specifying units and descriptions for ingested metrics: https://www.dynatrace.com/support/help/shortlink/metric-ingestion-protocol#metadata

It would be great if the Dynatrace registry would make full use of both APIs and also export the unit and description for each metric if they are specified by the user.

Rationale
The Meter description can describe a metric in more detail than just the metric name itself.
The Meter unit can help when interpreting metrics and is useful to tell whether different metrics are comparable with one another.

Additional context
https://www.dynatrace.com/support/help/shortlink/metric-ingestion-protocol#metadata
https://www.dynatrace.com/support/help/shortlink/custom-metric-metadata

cc @pirgeo