-
Notifications
You must be signed in to change notification settings - Fork 40.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
management.metrics.tags has been deprecated without a replacement working for all metrics #38583
Comments
We discussed this today and we're leaning towards the 3rd option although we have some reservations about the subtle difference between observation and observability. We'd like to discuss it some more before making a final decision. |
Maybe worth a note in the release notes paragraph associated? (if editing those is possible) Because in this sentence
"in a different way" includes all the "default" JVM metrics which we can probably expect that nearly-everyone cares about (ie it's not really a niche thing) (also no opinion on what solution here is best, trusting you will do something nice 👍) |
I will fix that section of the release notes when we have made our decision. |
We decided to undeprecate |
Today to set a tag for metrics and traces, we should set two properties:
Do we have a ticket we can track to simplify this configuration? Does Thanks! |
@o-shevchenko I believe If you're seeing some metrics not getting this information, it probably means that the instrumentation is using the Maybe your application is instrumenting itself with the Maybe your application is using a third-party instrumentation? In this case, you can check out the list of |
In 3.2.0, we deprecated
management.metrics.tags
(MetricsProperties#getTags
). The replacement for this ismanagement.observations.key-values
, but this property is only applied to metrics created throughObservation
s. If creating metrics in a different way,management.observations.key-values
is not applied to these metrics.I currently see these ways forward:
management.metrics.tags
- then we whould have two places to set common tags for metrics, depending how they get created, which is not great.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?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
.The text was updated successfully, but these errors were encountered: