Skip to content

Commit

Permalink
currencyservice: update opentelemetry-cpp to 1.12.0 (#1275)
Browse files Browse the repository at this point in the history
  • Loading branch information
styblope authored Nov 29, 2023
1 parent 5f8a8e9 commit 1ce768f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ release.

## Unreleased

* [currencyservice]: update opentelemetry-cpp to 1.12.0
([#1275](https://github.com/open-telemetry/opentelemetry-demo/pull/1275))
* update loadgenerator dependencies and the base image
([#1274](https://github.com/open-telemetry/opentelemetry-demo/pull/1274))
* add env var for pinning trace-based test tool version
Expand Down
2 changes: 1 addition & 1 deletion src/currencyservice/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ FROM alpine
RUN apk update
RUN apk add git cmake make g++ grpc-dev re2-dev protobuf-dev c-ares-dev

ARG OPENTELEMETRY_CPP_VERSION=1.10.0
ARG OPENTELEMETRY_CPP_VERSION=1.12.0

RUN git clone https://github.com/open-telemetry/opentelemetry-cpp \
&& cd opentelemetry-cpp/ \
Expand Down
2 changes: 1 addition & 1 deletion src/currencyservice/src/meter_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ namespace
otlp_exporter::OtlpGrpcMetricExporterOptions otlpOptions;

// Configuration via environment variable not supported yet
otlpOptions.aggregation_temporality = metric_sdk::AggregationTemporality::kDelta;
otlpOptions.aggregation_temporality = otlp_exporter::PreferredAggregationTemporality::kDelta;
auto exporter = otlp_exporter::OtlpGrpcMetricExporterFactory::Create(otlpOptions);

// Build MeterProvider and Reader
Expand Down

0 comments on commit 1ce768f

Please sign in to comment.