Class GlobalTracingConfiguration

java.lang.Object
org.infinispan.configuration.global.GlobalTracingConfiguration

public class GlobalTracingConfiguration extends Object
Configuration for tracing. See GlobalTracingConfigurationBuilder.
  • Field Details

  • Method Details

    • attributes

      public AttributeSet attributes()
    • 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
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object