Sumit Agrawal created HDDS-13804:
------------------------------------
Summary: dynamic enable of server tracing
Key: HDDS-13804
URL: https://issues.apache.org/jira/browse/HDDS-13804
Project: Apache Ozone
Issue Type: Sub-task
Reporter: Sumit Agrawal
h1. Dynamic Tracing Configuration
The following configuration property will control tracing:
* Ozone.tracing.enabled (default: false)
Existing environment variables for OpenTelemetry configuration are:
* OTEL_EXPORTER_OTLP_ENDPOINT: Specifies the OTLP receiver endpoint (default:
http://localhost:4317/).
* OTEL_TRACES_SAMPLER_ARG: Sampler argument for traces (default: 1.0, meaning
every trace is reported).
Since environment variables cannot be updated dynamically, dedicated
configuration properties will be provided for dynamic control:
* Ozone.tracing.endpoint
* Ozone.tracing.sampler
These Ozone.tracing configurations can be dynamically updated for Ozone Manager
(OM), Storage Container Manager (SCM), and DataNode (DN) via the Ozone CLI.
*Note:* Dynamic updates are not feasible for the Ozone client as it is part of
application code.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]