Skip navigation links

Package io.opencensus.tags

API for associating tags with scoped operations.

See: Description

Package io.opencensus.tags Description

API for associating tags with scoped operations.

This package manages a set of tags in the io.grpc.Context. The tags can be used to label anything that is associated with a specific operation. For example, the io.opencensus.stats package labels all stats with the current tags.

Tags are key-value pairs. The keys and values are wrapped Strings. They are stored as a map in a TagContext.

Note that tags are independent of the tracing data that is propagated in the io.grpc.Context, such as trace ID.

Skip navigation links