Class GlobalTracingConfiguration
java.lang.Object
org.infinispan.commons.configuration.attributes.ConfigurationElement<GlobalTracingConfiguration>
org.infinispan.configuration.global.GlobalTracingConfiguration
- All Implemented Interfaces:
Matchable<GlobalTracingConfiguration>, Updatable<GlobalTracingConfiguration>
Configuration for tracing. See
GlobalTracingConfigurationBuilder.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AttributeDefinition<String> static final AttributeDefinition<Boolean> static final AttributeDefinition<TracingExporterProtocol> static final AttributeDefinition<Boolean> static final AttributeDefinition<String> Fields inherited from class ConfigurationElement
attributes, CHILDLESS, children, element, repeated -
Method Summary
Modifier and TypeMethodDescriptionEnables tracing collection defining the collector that will receive the spans created by Infinispan.booleanenabled()Tracing is enabled by default if "collector-endpoint" is defined.By default, the tracing spans will be exported applying the OTLP (OpenTelemetry Protocol).booleansecurity()The service name used by tracing to identify the server process.Methods inherited from class ConfigurationElement
attributes, child, children, children, collectMutableAttributes, elementName, equals, extractAttributes, findAttribute, hashCode, isModified, list, matches, matches, matches, toString, update, update, update, validateUpdate, validateUpdate, validateUpdate, write
-
Field Details
-
COLLECTOR_ENDPOINT
-
ENABLED
-
EXPORTER_PROTOCOL
-
SERVICE_NAME
-
SECURITY
-
-
Method Details
-
collectorEndpoint
Enables tracing collection defining the collector that will receive the spans created by Infinispan. The value is supposed to be a valid parsable URL containing the protocol, the address and the port of the remote receiving process. E.g., http://otlp-collector-host:4317.- Returns:
- The collector endpoint URL.
-
enabled
public boolean enabled()Tracing is enabled by default if "collector-endpoint" is defined.- Returns:
- Whether the tracing is enabled
-
exporterProtocol
By default, the tracing spans will be exported applying the OTLP (OpenTelemetry Protocol). This protocol can be changed, but an extra exporter dependency should be added in case.- Returns:
- The protocol used to export the spans data.
-
serviceName
The service name used by tracing to identify the server process.- Returns:
- The service name.
-
security
public boolean security()- Returns:
- true whether the tracing of security events is enabled
-