[GSM Observability] Update opentelemetry cpp bazel deps (#34290)

This is needed for the upcoming work for GSM Observability integration
testing.
pull/34325/head
Stanley Cheung 1 year ago committed by GitHub
parent 2d1595c9af
commit e66cb7f2de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      WORKSPACE
  2. 8
      bazel/grpc_deps.bzl
  3. 1
      test/cpp/ext/otel/otel_test_library.cc

@ -102,6 +102,14 @@ load("@com_github_google_benchmark//:bazel/benchmark_deps.bzl", "benchmark_deps"
benchmark_deps() benchmark_deps()
load("@io_opentelemetry_cpp//bazel:repository.bzl", "opentelemetry_cpp_deps")
opentelemetry_cpp_deps()
load("@io_opentelemetry_cpp//bazel:extra_deps.bzl", "opentelemetry_extra_deps")
opentelemetry_extra_deps()
# TODO: Enable below once https://github.com/bazel-xcode/PodToBUILD/issues/232 is resolved # TODO: Enable below once https://github.com/bazel-xcode/PodToBUILD/issues/232 is resolved
# #
#http_archive( #http_archive(

@ -492,11 +492,11 @@ def grpc_deps():
if "io_opentelemetry_cpp" not in native.existing_rules(): if "io_opentelemetry_cpp" not in native.existing_rules():
http_archive( http_archive(
name = "io_opentelemetry_cpp", name = "io_opentelemetry_cpp",
sha256 = "668de24f81c8d36d75092ad9dcb02a97cd41473adbe72485ece05e336db48249", sha256 = "f30cd88bf898a5726d245eba882b8e81012021eb00df34109f4dfb203f005cea",
strip_prefix = "opentelemetry-cpp-1.9.1", strip_prefix = "opentelemetry-cpp-1.11.0",
urls = [ urls = [
"https://storage.googleapis.com/grpc-bazel-mirror/github.com/open-telemetry/opentelemetry-cpp/archive/refs/tags/v1.9.1.tar.gz", "https://storage.googleapis.com/grpc-bazel-mirror/github.com/open-telemetry/opentelemetry-cpp/archive/refs/tags/v1.11.0.tar.gz",
"https://github.com/open-telemetry/opentelemetry-cpp/archive/refs/tags/v1.9.1.tar.gz", "https://github.com/open-telemetry/opentelemetry-cpp/archive/refs/tags/v1.11.0.tar.gz",
], ],
) )

@ -22,6 +22,7 @@
#include "api/include/opentelemetry/metrics/provider.h" #include "api/include/opentelemetry/metrics/provider.h"
#include "gmock/gmock.h" #include "gmock/gmock.h"
#include "gtest/gtest.h" #include "gtest/gtest.h"
#include "opentelemetry/sdk/metrics/export/metric_producer.h"
#include "opentelemetry/sdk/metrics/meter_provider.h" #include "opentelemetry/sdk/metrics/meter_provider.h"
#include "opentelemetry/sdk/metrics/metric_reader.h" #include "opentelemetry/sdk/metrics/metric_reader.h"

Loading…
Cancel
Save