Skip to content
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

Merged

Conversation

anuraaga
Copy link
Contributor

@anuraaga anuraaga commented Feb 18, 2022

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.

@codecov
Copy link

codecov bot commented Feb 18, 2022

Codecov Report

Merging #4185 (19fb820) into main (71351a2) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            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           
Impacted Files Coverage Δ
...metry/exporter/prometheus/PrometheusCollector.java 100.00% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 71351a2...19fb820. Read the comment docs.

Copy link
Contributor

@jkwatson jkwatson left a 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!

@anuraaga anuraaga merged commit 72c2412 into open-telemetry:main Feb 21, 2022
gcatanese pushed a commit to gcatanese/opentelemetry-java that referenced this pull request Feb 21, 2022
jkwatson pushed a commit that referenced this pull request Feb 24, 2022
* 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>
jamesmoessis pushed a commit to atlassian-forks/opentelemetry-java that referenced this pull request Feb 25, 2022
jamesmoessis pushed a commit to atlassian-forks/opentelemetry-java that referenced this pull request Feb 25, 2022
* 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants