From 573d1a25816b64c4aa0d6d21498401edbb6de652 Mon Sep 17 00:00:00 2001 From: Pierre Tessier Date: Thu, 25 May 2023 00:11:32 -0400 Subject: [PATCH 1/3] export metrics endpoint to default config Signed-off-by: Pierre Tessier --- src/currencyservice/src/meter_common.h | 1 - 1 file changed, 1 deletion(-) diff --git a/src/currencyservice/src/meter_common.h b/src/currencyservice/src/meter_common.h index 747b06cd82..4deae86fa9 100644 --- a/src/currencyservice/src/meter_common.h +++ b/src/currencyservice/src/meter_common.h @@ -26,7 +26,6 @@ namespace otlp_exporter::OtlpGrpcMetricExporterOptions otlpOptions; // Configuration via environment variable not supported yet - otlpOptions.endpoint = "otelcol:4317"; otlpOptions.aggregation_temporality = metric_sdk::AggregationTemporality::kDelta; auto exporter = otlp_exporter::OtlpGrpcMetricExporterFactory::Create(otlpOptions); From fd3da85f81371d176dec4581e1ca41e2a590f5cf Mon Sep 17 00:00:00 2001 From: Pierre Tessier Date: Thu, 25 May 2023 00:16:30 -0400 Subject: [PATCH 2/3] export metrics endpoint to default config Signed-off-by: Pierre Tessier --- CHANGELOG.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 25f465c95a..854bc4fdff 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -29,7 +29,8 @@ release. ([#880](https://github.com/open-telemetry/opentelemetry-demo/pull/880)) * [currencyservice] Fix OTel C++ build and update OTel version to 1.9.0 ([#886](https://github.com/open-telemetry/opentelemetry-demo/pull/886)) - +* [currencyservice] Fix OTLP export to use default env vars + ([#904](https://github.com/open-telemetry/opentelemetry-demo/pull/904)) ## 1.4.0 * [cart] use 60m TTL for cart entries in redis From d83c82f81c8b007405f41028edf3c4f2e97a78e9 Mon Sep 17 00:00:00 2001 From: Pierre Tessier Date: Thu, 25 May 2023 00:21:01 -0400 Subject: [PATCH 3/3] export metrics endpoint to default config Signed-off-by: Pierre Tessier --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 854bc4fdff..43a10b03bb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -31,6 +31,7 @@ release. ([#886](https://github.com/open-telemetry/opentelemetry-demo/pull/886)) * [currencyservice] Fix OTLP export to use default env vars ([#904](https://github.com/open-telemetry/opentelemetry-demo/pull/904)) + ## 1.4.0 * [cart] use 60m TTL for cart entries in redis