Skip to content

Commit

Permalink
Fix Prometheus target name (#1820)
Browse files Browse the repository at this point in the history
  • Loading branch information
lalitb authored Nov 29, 2022
1 parent 308ec88 commit 33d244a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions exporters/prometheus/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ endif()

add_library(opentelemetry_exporter_prometheus src/exporter.cc src/collector.cc
src/exporter_utils.cc)

set_target_properties(opentelemetry_exporter_prometheus
PROPERTIES EXPORT_NAME prometheus_exporter)
target_include_directories(
opentelemetry_exporter_prometheus
PUBLIC "$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/include>"
Expand Down

0 comments on commit 33d244a

Please sign in to comment.