Skip to content

Commit

Permalink
currencyservice: update opentelemetry-cpp to 1.12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
styblope committed Nov 27, 2023
1 parent c9efc8a commit 0ccd01b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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 0ccd01b

Please sign in to comment.