# Functions
ContextWithHandle creates a new context with a location to store metadata returned from a dispatched request.
FromContext returns any metadata that was stored in the context.
SetInContext should be called in a gRPC handler to correctly set the response metadata for the dispatched request.
StreamServerInterceptor implements a gRPC Middleware for reporting usage metrics in both the trailer of the request, as well as to the registered prometheus metrics.
UnaryServerInterceptor implements a gRPC Middleware for reporting usage metrics in both the trailer of the request, as well as to the registered prometheus metrics.
# Variables
DispatchedCountHistogram is the metric that SpiceDB uses to keep track of the number of downstream dispatches that are performed to answer a single query.
DispatchedCountLabels are the labels that DispatchedCountHistogram will have have by default.