Class GlobalTracingConfiguration

All Implemented Interfaces:
Matchable<GlobalTracingConfiguration>, Updatable<GlobalTracingConfiguration>

public class GlobalTracingConfiguration extends ConfigurationElement<GlobalTracingConfiguration>
Configuration for tracing. See GlobalTracingConfigurationBuilder.
  • Field Details

  • Method Details

    • collectorEndpoint

      public String 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

      public TracingExporterProtocol 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

      public String 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