-
Notifications
You must be signed in to change notification settings - Fork 410
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
Add Prometheus Exporter: Step 2 - PrometheusCollector #282
Add Prometheus Exporter: Step 2 - PrometheusCollector #282
Conversation
Codecov Report
@@ Coverage Diff @@
## master #282 +/- ##
=======================================
Coverage 94.55% 94.55%
=======================================
Files 146 146
Lines 6610 6610
=======================================
Hits 6250 6250
Misses 360 360 |
…opentelemetry-cpp into prometheus_collector
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.
I haven't actually got time to go through the change, given the internship is ending soon for @erichsueh3 and this change only touched Prometheus exporter (and a tiny bit on the CI job), based on offline discussion we'll move forward and get this merged for now.
This PR implements the PrometheusCollector class and its header, source, test, and build files. This class is derived from the Collectable class in the C++ Prometheus client and allows for data translated from OpenTelemetry for Prometheus to be collected by an end user.
This PR is one in a series of PRs that aims to add a full implementation of a Prometheus Exporter within the OpenTelemetry C++ library.
Note to reviewers: Please keep in mind that this PR is dependent on the Prometheus Exporter Utils PRs(#280) so codecov tests may not fully pass.