Skip to content

Commit e4ec9cd

Browse files
committed
Address feedback
1 parent 4b88f58 commit e4ec9cd

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

_posts/blog/2022-06-22-2.1.0-metrics-and-tracing.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -152,17 +152,18 @@ docker run -d --rm --name jaeger \
152152

153153
![Jaeger Screenshot](/images/blog/202206_metrics_and_tracing/Jaeger_Screenshot.png)
154154

155-
## Note for Recent Accumulo Versions (April 2025)
155+
## Updated Configuration with Newer Versions of OpenTelemetry
156156

157-
**Note:** This section replaces steps 5 and 6 in the [Tracing Example](#tracing-example) above. Follow steps 1-4 from the original instructions, then use the updated configuration below instead of steps 5-6, and continue with steps 7-8 to view traces in Jaeger.
157+
The original tracing example above was written for Accumulo 2.1.0 which uses OpenTelemetry 1.19.0. Accumulo 2.1.4 has been updated to use OpenTelemetry 1.48.0, which requires different configuration. When working with Accumulo 2.1.4 or any deployment using OpenTelemetry 1.48.0 or newer, use OTLP (OpenTelemetry Protocol) instead of the direct Jaeger exporter.
158158

159-
We've found that the original Jaeger exporter configuration no longer works well with newer versions of OpenTelemetry and Jaeger. Instead, use the OTLP exporter which has become the standard protocol for trace data:
159+
Follow steps 1-4 from the [Tracing Example](#tracing-example) section, then use these updated steps in place of steps 5-6:
160160

161-
1. Update your configuration to use OTLP instead of Jaeger:
161+
1. Configure the OpenTelemetry JavaAgent in accumulo-env.sh with OTLP export:
162162
```bash
163163
JAVA_OPTS=('-Dotel.traces.exporter=otlp' '-Dotel.exporter.otlp.endpoint=http://localhost:4317' '-Dotel.metrics.exporter=none' '-Dotel.logs.exporter=none' "${JAVA_OPTS[@]}")
164+
JAVA_OPTS=('-javaagent:path/to/opentelemetry-javaagent.jar' "${JAVA_OPTS[@]}")
164165
```
165-
2. Run Jaeger with OTLP support:
166+
2. Start Jaeger with OTLP support:
166167
```bash
167168
docker run --rm --name jaeger \
168169
-p 16686:16686 \
@@ -173,5 +174,4 @@ We've found that the original Jaeger exporter configuration no longer works well
173174
jaegertracing/jaeger:2.3.0
174175
```
175176

176-
This reflects how the OpenTelemetry ecosystem has converged on OTLP as the standard protocol for transmitting trace data.
177-
These updated instructions have been tested against Accumulo 2.1.4 and 4.0 versions.
177+
After completing these updated steps, continue with steps 7-8 from the original instructions to view traces in Jaeger.

0 commit comments

Comments
 (0)