You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update tracing blog post to remove the instructions to set the client property (#469)
* Update tracing blog post to remove the instructions to set the client property
Removed step 4 under the Tracing Example as setting that property does nothing anymore.
---------
Co-authored-by: Dom Garguilo <domgarguilo@apache.org>
Copy file name to clipboardExpand all lines: _posts/blog/2022-06-22-2.1.0-metrics-and-tracing.md
+6-12Lines changed: 6 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -114,15 +114,9 @@ This example uses the OpenTelemetry Java Agent jar file to configure and export
114
114
general.opentelemetry.enabled=true
115
115
```
116
116
117
-
4. To enable tracing in the shell, set the `general.opentelemetry.enabled` property in the accumulo-client.properties configuration file.
118
-
```
119
-
# OpenTelemetry settings
120
-
general.opentelemetry.enabled=true
121
-
```
122
-
123
-
**Note:** If you are using Accumulo 2.1.4 or newer, skip steps 5-6 below and follow the updated instructions in the [Updated Configuration with Newer Versions of OpenTelemetry](#updated-configuration-with-newer-versions-of-opentelemetry) section.
117
+
**Note:** If you are using Accumulo 2.1.4 or newer, skip steps 4-5 below and follow the updated instructions in the [Updated Configuration with Newer Versions of OpenTelemetry](#updated-configuration-with-newer-versions-of-opentelemetry) section.
124
118
125
-
5. Configure the OpenTelemetry JavaAgent in accumulo-env.sh by uncommenting the following and updating the path to the java agent jar:
119
+
4. Configure the OpenTelemetry JavaAgent in accumulo-env.sh by uncommenting the following and updating the path to the java agent jar:
7. Start Accumulo. You should see the following statement in the server log files
142
+
6. Start Accumulo. You should see the following statement in the server log files
149
143
```
150
144
[trace.TraceUtil] INFO : Trace enabled in Accumulo: yes, OpenTelemetry instance: class io.opentelemetry.javaagent.instrumentation.opentelemetryapi.v1_10.ApplicationOpenTelemetry110, Tracer instance: class io.opentelemetry.javaagent.instrumentation.opentelemetryapi.trace.ApplicationTracer
151
145
```
152
146
153
-
8. View traces in Jaeger UI at http://localhost:16686. You can select the service name on the left panel and click `Find Traces` to view the trace information. If everything is working correctly, then you should see something like the image below.
147
+
7. View traces in Jaeger UI at http://localhost:16686. You can select the service name on the left panel and click `Find Traces` to view the trace information. If everything is working correctly, then you should see something like the image below.
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.
162
156
163
-
Follow steps 1–4 from the [Tracing Example](#tracing-example) section, then use these updated steps in place of steps 5-6:
157
+
Follow steps 1–3 from the [Tracing Example](#tracing-example) section, then use these updated steps in place of steps 4-5:
164
158
165
159
1. Configure the OpenTelemetry JavaAgent in accumulo-env.sh with OTLP export:
0 commit comments