Skip to content

Create configuration property for common low cardinality KeyValues in Observations  #33241

Closed
@bclozel

Description

@bclozel

Currently, Spring Boot automatically registers Metrics Tags for the management.metrics.tags.* configuration properties.
Such values are applied to all outgoing metrics, thanks to a MeterFilter.

We should consider deprecating this property and replacing it with a new management.observations.keyvalues.*. This would apply properties as low cardinality KeyValues for all outgoing Observations (so, not just Metrics). This can be applied using a ObservationFilter bean, in a similar fashion.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions