Class ObservabilityConfig

java.lang.Object
io.vertx.core.http.ObservabilityConfig

@Unstable public class ObservabilityConfig extends Object
Generic client/server observability config.
Author:
Julien Viet
  • Constructor Details

    • ObservabilityConfig

      public ObservabilityConfig()
    • ObservabilityConfig

      public ObservabilityConfig(ObservabilityConfig other)
  • Method Details

    • getMetricsName

      public String getMetricsName()
      Returns:
      the metrics name identifying the reported metrics.
    • setMetricsName

      public ObservabilityConfig setMetricsName(String metricsName)
      Set the metrics name identifying the reported metrics, useful for naming the server metrics.
      Parameters:
      metricsName - the metrics name
      Returns:
      a reference to this, so the API can be used fluently
    • getTracingPolicy

      public TracingPolicy getTracingPolicy()
      Returns:
      the tracing policy
    • setTracingPolicy

      public ObservabilityConfig setTracingPolicy(TracingPolicy tracingPolicy)
      Set the tracing policy for the server behavior when Vert.x has tracing enabled.
      Parameters:
      tracingPolicy - the tracing policy
      Returns:
      a reference to this, so the API can be used fluently