public static interface ApiProxy.EnvironmentWithTrace extends ApiProxy.Environment
| Modifier and Type | Method and Description |
|---|---|
java.util.Optional<java.lang.String> |
getSpanId()
Get the span id of the current request, which can be used to identify a span within a trace.
|
java.util.Optional<java.lang.String> |
getTraceId()
Get the trace id of the current request, which can be used to correlate log messages
belonging to that request.
|
getAppId, getAttributes, getAuthDomain, getEmail, getModuleId, getRemainingMillis, getRequestNamespace, getVersionId, isAdmin, isLoggedInjava.util.Optional<java.lang.String> getTraceId()
java.util.Optional<java.lang.String> getSpanId()