Class GlobalTracingConfiguration
java.lang.Object
org.infinispan.configuration.global.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> -
Method Summary
Modifier and TypeMethodDescriptionEnables tracing collection defining the collector that will receive the spans created by Infinispan.boolean
enabled()
Tracing is enabled by default if "collector-endpoint" is defined.boolean
By default, the tracing spans will be exported applying the OTLP (OpenTelemetry Protocol).int
hashCode()
boolean
security()
The service name used by tracing to identify the server process.toString()
-
Field Details
-
COLLECTOR_ENDPOINT
-
ENABLED
-
EXPORTER_PROTOCOL
-
SERVICE_NAME
-
SECURITY
-
-
Method Details
-
attributes
-
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
-
equals
-
hashCode
public int hashCode() -
toString
-