-
Notifications
You must be signed in to change notification settings - Fork 843
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
Deprecate PrometheusCollector #4185
Deprecate PrometheusCollector #4185
Conversation
Codecov Report
@@ Coverage Diff @@
## main #4185 +/- ##
=========================================
Coverage 90.25% 90.25%
Complexity 4660 4660
=========================================
Files 539 539
Lines 14330 14330
Branches 1371 1371
=========================================
Hits 12934 12934
Misses 943 943
Partials 453 453
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like this is a good technique to get feedback!
* Overload put with AttributeKey with String array * Use generic instead of String * Format and javadoc * Cast to type * New public method * File based view configuration (#4163) * Add experimental view config module * Rename view-config to metric-incubator * Switch naming from camelCase to snake_case * Extend with attribute key filter * Wire up to autoconfiguration * Use snakeyaml instead of jackson * PR feedback * PR feedback * Remove explicit okio dependency (#4187) * Deprecate PrometheusCollector (#4185) * Correct javadoc Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com> * Cast to type Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com> Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
* Overload put with AttributeKey with String array * Use generic instead of String * Format and javadoc * Cast to type * New public method * File based view configuration (open-telemetry#4163) * Add experimental view config module * Rename view-config to metric-incubator * Switch naming from camelCase to snake_case * Extend with attribute key filter * Wire up to autoconfiguration * Use snakeyaml instead of jackson * PR feedback * PR feedback * Remove explicit okio dependency (open-telemetry#4187) * Deprecate PrometheusCollector (open-telemetry#4185) * Correct javadoc Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com> * Cast to type Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com> Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
I don't mind extracting this into an extension right away but wonder what people think of just deprecating for this release and see if we get feedback. Yes it's weird to deprecate prometheus with a reference to micrometer integration :) But I think in practice it's much more common to be using micrometer than the prometheus library directly so want to see if it's enough. For reference, unlike
setChannel
with the similar strategy, this module is still alpha.