Skip to content

Commit 0f0749d

Browse files
authored
Upgrade prometheus to opentelemetry-cpp 1.19.0 (open-telemetry#521)
1 parent 6053ca1 commit 0f0749d

File tree

3 files changed

+18
-3
lines changed

3 files changed

+18
-3
lines changed

.github/workflows/prometheus.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
uses: actions/checkout@v3
6666
with:
6767
repository: "open-telemetry/opentelemetry-cpp"
68-
ref: "v1.15.0"
68+
ref: "v1.19.0"
6969
path: "otel_cpp"
7070
submodules: "recursive"
7171
- name: run tests
@@ -103,7 +103,7 @@ jobs:
103103
uses: actions/checkout@v3
104104
with:
105105
repository: "open-telemetry/opentelemetry-cpp"
106-
ref: "v1.15.0"
106+
ref: "v1.19.0"
107107
path: "otel_cpp"
108108
submodules: "recursive"
109109
- name: setup

exporters/prometheus/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ cmake_minimum_required(VERSION 3.12)
1616

1717
project(
1818
opentelemetry-cpp-contrib
19-
VERSION "1.11.0" # opentelemetry-cpp-contrib 1.11.0
19+
VERSION "1.19.0" # opentelemetry-cpp-contrib 1.19.0
2020
HOMEPAGE_URL "https://github.com/open-telemetry/opentelemetry-cpp-contrib"
2121
LANGUAGES CXX)
2222

exporters/prometheus/MODULE.bazel

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Copyright The OpenTelemetry Authors
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
module(
5+
name = "opentelemetry-cpp-contrib-prometheus",
6+
version = "1.19.0",
7+
compatibility_level = 0,
8+
repo_name = "io_opentelemetry_cpp_contrib",
9+
)
10+
11+
bazel_dep(name = "abseil-cpp", version = "20240116.1", repo_name = "com_google_absl")
12+
bazel_dep(name = "opentelemetry-cpp", version = "1.19.0", repo_name = "io_opentelemetry_cpp")
13+
bazel_dep(name = "prometheus-cpp", version = "1.3.0", repo_name = "com_github_jupp0r_prometheus_cpp")
14+
15+
bazel_dep(name = "googletest", version = "1.14.0.bcr.1", dev_dependency = True, repo_name = "com_google_googletest")

0 commit comments

Comments
 (0)