Runtime context#
These APIs read context from inside a running replica, such as the replica’s identity, the current trace, or the multiplexed model ID of the current request.
Replica and request context#
Returns the deployment and replica tag from within a replica at runtime. |
|
Get the current OpenTelemetry trace context. |
|
Get a handle to a deployment-scoped actor by name. |
|
Get the multiplexed model ID for the current request. |
|
Stores runtime context info for replicas. |
|
Context information for a replica that is part of a gang. |
gRPC context#
Context manager to set and get gRPC context. |
|
Async iterator wrapping an incoming gRPC request stream. |