From 0fa28ce39b6415408b484fc8e07660f59ca1d981 Mon Sep 17 00:00:00 2001 From: shavidissa Date: Tue, 21 Nov 2023 08:32:26 -0800 Subject: [PATCH] Update the histogram version for the OTEL Java collector --- java-example/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-example/README.md b/java-example/README.md index ca15a98a..6685221d 100644 --- a/java-example/README.md +++ b/java-example/README.md @@ -37,7 +37,7 @@ For instrumentation, you use the Java agent provided by OpenTelemetry, which can ``` 1. Attach the Java agent and start the Spring Petclinic application. ``` - java -javaagent:$JAVA_AGENT -Dotel.service.name=petclinic -Dotel.resource.attributes=application=demo-petclinic -Dotel.exporter.otlp.metrics.temporality.preference=DELTA -Dotel.exporter.otlp.metrics.default.histogram.aggregation=EXPONENTIAL_BUCKET_HISTOGRAM -jar target/*.jar + java -javaagent:$JAVA_AGENT -Dotel.service.name=petclinic -Dotel.resource.attributes=application=demo-petclinic -Dotel.exporter.otlp.metrics.temporality.preference=DELTA -Dotel.exporter.otlp.metrics.default.histogram.aggregation=BASE2_EXPONENTIAL_BUCKET_HISTOGRAM -jar target/*.jar ``` 1. Navigate to [http://localhost:8080](http://localhost:8080) and interact with the Petclinic application to generate telemetry data.