Skip to content

Add Prometheus Collector - PrometheusCollector unit tests#262

Closed
erichsueh3 wants to merge 3 commits into
open-telemetry:masterfrom
erichsueh3:prom_collector_tests
Closed

Add Prometheus Collector - PrometheusCollector unit tests#262
erichsueh3 wants to merge 3 commits into
open-telemetry:masterfrom
erichsueh3:prom_collector_tests

Conversation

@erichsueh3
Copy link
Copy Markdown
Contributor

This PR implements the unit tests for the PrometheusCollector class. The PR for the PrometheusCollector header and source files can be found here(ADD LINK).

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 Collector Implementation PR(#261) and the Prometheus Exporter Utils PRs (#245 and #250) so codecov tests may not fully pass.

@erichsueh3 erichsueh3 requested a review from a team August 7, 2020 01:25
@codecov
Copy link
Copy Markdown

codecov Bot commented Aug 7, 2020

Codecov Report

Merging #262 into master will decrease coverage by 0.82%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #262      +/-   ##
==========================================
- Coverage   93.29%   92.47%   -0.83%     
==========================================
  Files          66      142      +76     
  Lines        1656     6204    +4548     
==========================================
+ Hits         1545     5737    +4192     
- Misses        111      467     +356     
Impacted Files Coverage Δ
api/test/trace/noop_test.cc 100.00% <0.00%> (ø)
sdk/test/trace/span_data_test.cc 100.00% <0.00%> (ø)
api/test/nostd/unique_ptr_test.cc 100.00% <0.00%> (ø)
api/test/nostd/string_view_test.cc 100.00% <0.00%> (ø)
api/test/plugin/dynamic_load_test.cc 100.00% <0.00%> (ø)
api/include/opentelemetry/trace/span.h 100.00% <0.00%> (ø)
sdk/test/trace/tracer_provider_test.cc 100.00% <0.00%> (ø)
sdk/test/trace/simple_processor_test.cc 100.00% <0.00%> (ø)
api/include/opentelemetry/trace/tracer.h 100.00% <0.00%> (ø)
sdk/include/opentelemetry/sdk/trace/tracer.h 100.00% <0.00%> (ø)
... and 94 more

@erichsueh3 erichsueh3 marked this pull request as draft August 18, 2020 01:07
@erichsueh3 erichsueh3 closed this Aug 18, 2020
GerHobbelt pushed a commit to GerHobbelt/opentelemetry-cpp that referenced this pull request Jun 17, 2025
…ld-push-action-6.x

chore(deps): update docker/build-push-action action to v6.16.0
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.

1 participant