Package io.temporal.nexus
Interface NexusOperationContext
-
- All Known Implementing Classes:
NexusOperationContextImpl
public interface NexusOperationContextContext object passed to a Nexus operation implementation. UseNexus.getOperationContext()from a Nexus Operation implementation to access.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.uber.m3.tally.ScopegetMetricsScope()Get scope for reporting business metrics in a nexus handler.
-
-
-
Method Detail
-
getMetricsScope
com.uber.m3.tally.Scope getMetricsScope()
Get scope for reporting business metrics in a nexus handler. This scope is tagged with the service and operation.The original metrics scope is set through
ServiceStubsOptions.Builder.setMetricsScope(Scope)when a worker starts up.
-
-