Interaction with other Vostok libraries
The main value of Vostok.Context – integration with other Vostok libraries.
Context + ClusterClient
Use the ClusterClient.Context, if you want to spread the context across the network. You can look at the example here.
Context + Logging
Logging.Context enables us to say: "Let's automatically add properties from context to that log".
If you use ContextualLogPrefix
, you can do so:
Result:
Context + Tracing
__/\_/\__ | 0 0 | / ____ \ |_|_|_|_|_|_|_|
Last updated
Was this helpful?