Skip to content

[CMAKE] Add CMake script to find or fetch prometheus-cpp - #3522

Merged
marcalff merged 3 commits into
open-telemetry:mainfrom
dbarker:cmake_find_or_fetch_prometheus_cpp
Jul 9, 2025
Merged

[CMAKE] Add CMake script to find or fetch prometheus-cpp#3522
marcalff merged 3 commits into
open-telemetry:mainfrom
dbarker:cmake_find_or_fetch_prometheus_cpp

Conversation

@dbarker

@dbarker dbarker commented Jul 7, 2025

Copy link
Copy Markdown
Member

Fixes # (issue)

Changes

  • Adds CMake script to find or fetch prometheus-cpp
  • Explicitly link to the core and pull targets from the prometheus exporter.

For significant contributions please make sure you have completed the following items:

  • CHANGELOG.md updated for non-trivial changes
  • Unit tests have been added
  • Changes in public API reviewed

@netlify

netlify Bot commented Jul 7, 2025

Copy link
Copy Markdown

Deploy Preview for opentelemetry-cpp-api-docs canceled.

Name Link
🔨 Latest commit 7845429
🔍 Latest deploy log https://app.netlify.com/projects/opentelemetry-cpp-api-docs/deploys/686e2af45267e5000822c71e

@codecov

codecov Bot commented Jul 7, 2025

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.96%. Comparing base (a1e6011) to head (7845429).
Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #3522   +/-   ##
=======================================
  Coverage   89.96%   89.96%           
=======================================
  Files         219      219           
  Lines        7051     7051           
=======================================
  Hits         6343     6343           
  Misses        708      708           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@dbarker
dbarker marked this pull request as ready for review July 7, 2025 18:41
@dbarker
dbarker requested a review from a team as a code owner July 7, 2025 18:41
Comment thread exporters/prometheus/CMakeLists.txt

@owent owent left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@marcalff marcalff left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@marcalff
marcalff merged commit 1ad6674 into open-telemetry:main Jul 9, 2025
@dbarker
dbarker deleted the cmake_find_or_fetch_prometheus_cpp branch July 10, 2025 16:43
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