All Downloads are FREE. Search and download functionalities are using the official Maven repository.

shade.polaris.io.prometheus.client.exemplars.tracer.common.SpanContextSupplier Maven / Gradle / Ivy

package io.prometheus.client.exemplars.tracer.common;

public interface SpanContextSupplier {

  /**
   * @return the current trace id, or {@code null} if this call is not happening within a span context.
   */
  String getTraceId();

  /**
   * @return the current span id, or {@code null} if this call is not happening within a span context.
   */
  String getSpanId();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy