Interface ApiProxy.EnvironmentWithTrace

All Superinterfaces:
ApiProxy.Environment
Enclosing class:
ApiProxy

public static interface ApiProxy.EnvironmentWithTrace extends ApiProxy.Environment
A specialization of Environment with call-tracing metadata.
  • Method Details

    • getTraceId

      Optional<String> getTraceId()
      Get the trace id of the current request, which can be used to correlate log messages belonging to that request.
    • getSpanId

      Optional<String> getSpanId()
      Get the span id of the current request, which can be used to identify a span within a trace.