Skip to content

Commit 953b5b0

Browse files
addressed changes
1 parent 9c5ef65 commit 953b5b0

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

docs/05-administrator-guide/03-operations/09-observability/06-distributed-tracing.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Distributed tracing can help to understand performance bottleneck with visualizi
88
Ozone makes use of [OpenTelemetry](https://opentelemetry.io/) API for tracing and uses OTLP with gRPC format for sending traces.
99
[jaeger](https://jaegertracing.io) tracing library as collector can collect traces from Ozone over default port 4317 (as default).
1010

11-
## Enabling Tracing {#enabling-tracing}
11+
## Enabling Tracing
1212

1313
Tracing is turned off by default. To enable it across Ozone services, configure the following property in `ozone-site.xml`:
1414

@@ -53,7 +53,7 @@ When resolving configurations for endpoints and sampling strategies, Ozone evalu
5353
2. Environment Variables
5454
3. Default Internal Values
5555

56-
## Collector Endpoint Configuration {#collector-endpoint-configuration}
56+
## Collector Endpoint Configuration
5757

5858
The endpoint specifies the destination where the Jaeger collector is listening.
5959

@@ -133,9 +133,11 @@ Trace context is propagated across service boundaries via gRPC and W3C context p
133133
| Storage Container Manager | `StorageContainerManager` |
134134
| Datanode | `HddsDatanodeService.{datanodeId}` |
135135
| S3 Gateway | `S3gateway` |
136-
| Ozone Client | `client` |
136+
| Ozone Client | `client` (when Ozone initializes tracing in the JVM) |
137137
| CLIs (Shell / FS / Freon) | `shell`, `FsShell`, `freon` |
138138

139+
> **Note:** If an application registers OpenTelemetry first, client spans are exported under that application's service name, not `client`.
140+
139141
## Dynamic Reconfiguration
140142

141143
You can update the following tracing properties at runtime on the OM, SCM, and Datanodes

0 commit comments

Comments
 (0)