This is an automated email from the ASF dual-hosted git repository.

ctubbsii pushed a commit to branch 2.1
in repository https://gitbox.apache.org/repos/asf/accumulo.git


The following commit(s) were added to refs/heads/2.1 by this push:
     new 98549b6bfe Further improve tracing property description
98549b6bfe is described below

commit 98549b6bfe3347d8827829de4fa4b2cdb5a649df
Author: Christopher Tubbs <[email protected]>
AuthorDate: Fri Dec 5 13:14:50 2025 -0500

    Further improve tracing property description
    
    As followup for PR #6004, further streamline the description of the
    `general.opentelemetry.enabled` property.
---
 .../main/java/org/apache/accumulo/core/conf/Property.java    | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/core/src/main/java/org/apache/accumulo/core/conf/Property.java 
b/core/src/main/java/org/apache/accumulo/core/conf/Property.java
index 9cd510fbd0..d7afd269ad 100644
--- a/core/src/main/java/org/apache/accumulo/core/conf/Property.java
+++ b/core/src/main/java/org/apache/accumulo/core/conf/Property.java
@@ -280,13 +280,11 @@ public enum Property {
       "The maximum size of a message that can be sent to a server.", "1.5.0"),
   @Experimental
   GENERAL_OPENTELEMETRY_ENABLED("general.opentelemetry.enabled", "false", 
PropertyType.BOOLEAN,
-      "Enables tracing for all spans in the process using OpenTelemetry 
(assuming OpenTelemetry is "
-          + "configured). When true, if a thread with no active trace 
encounters a span, then a new trace with "
-          + "a new id is started. When this property is false, RPC requests 
that arrive at a process with tracing "
-          + "set will still emit traces for all spans as long as OpenTelemetry 
is properly configured. For example, "
-          + "if this property is only set for the Accumulo GC server, then all 
RPCs initiated by the GC would emit "
-          + "trace data across the cluster. However, threads on non gc server 
processes with no active trace would "
-          + "not emit anything when they encounter a span.",
+      "Enables OpenTelemetry traces for new spans in the server process that 
are not already part "
+          + "of an existing trace. Spans that are part of an existing trace, 
such as one "
+          + "originating in client code and propagated to the server over an 
RPC request, are "
+          + "always traced, regardless of this value. (Note: no tracing will 
occur if "
+          + "OpenTelemetry is not first configured for the JVM).",
       "2.1.0"),
   GENERAL_THREADPOOL_SIZE("general.server.threadpool.size", "1", 
PropertyType.COUNT,
       "The number of threads to use for server-internal scheduled tasks.", 
"2.1.0"),

Reply via email to