Package com.google.apphosting.api
Interface ApiProxy.EnvironmentWithTrace
- All Superinterfaces:
ApiProxy.Environment
- Enclosing class:
- ApiProxy
A specialization of Environment with call-tracing metadata.
-
Method Summary
Modifier and TypeMethodDescriptionGet the span id of the current request, which can be used to identify a span within a trace.Get the trace id of the current request, which can be used to correlate log messages belonging to that request.Methods inherited from interface com.google.apphosting.api.ApiProxy.Environment
getAppId, getAttributes, getAuthDomain, getEmail, getModuleId, getRemainingMillis, getRequestNamespace, getVersionId, isAdmin, isLoggedIn
-
Method Details
-
getTraceId
Get the trace id of the current request, which can be used to correlate log messages belonging to that request. -
getSpanId
Get the span id of the current request, which can be used to identify a span within a trace.
-