Closed
Description
In 3.2.0, we deprecated management.metrics.tags
(MetricsProperties#getTags
). The replacement for this is management.observations.key-values
, but this property is only applied to metrics created through Observation
s. If creating metrics in a different way, management.observations.key-values
is not applied to these metrics.
I currently see these ways forward:
- Un-deprecate
management.metrics.tags
- then we whould have two places to set common tags for metrics, depending how they get created, which is not great. - Apply
management.observations.key-values
to metrics created without aObservation
, too - then we would only have one way to set common tags for metrics, which is great. But theobservations
part implies that it should only apply toObservation
s. Or is a metric anObservation
, too? - Create a new property, e.g.
management.observability.common-tags
which applies to all observability things (Observation
, metrics, traces). Then we have to deprecate the newmanagement.observations.key-values
and redirect users tomanagement.observability.common-tags
.