package
2.3.0+incompatible
Repository: https://github.com/jaegertracing/jaeger.git
Documentation: pkg.go.dev

# Functions

AddFlags adds flags for tenancy to the FlagSet.
PropagationHandler returns a http.Handler containing the logic to extract the tenancy header of the http.Request and insert the tenant into request.Context for propagation.
GetTenant retrieves a tenant associated with a Context.
InitFromViper creates tenancy.Options populated with values retrieved from Viper.
NewClientStreamInterceptor injects tenant header into gRPC request metadata.
NewClientUnaryInterceptor injects tenant header into gRPC request metadata.
NewGuardingStreamInterceptor blocks handling of streams whose tenancy header doesn't meet tenancy requirements.
NewGuardingUnaryInterceptor blocks handling of RPCs whose tenancy header doesn't meet tenancy requirements.
NewManager creates a tenancy.Manager for given tenancy.Options.
WithTenant creates a Context with a tenant association.

# Structs

Manager can check tenant usage for multi-tenant Jaeger configurations.
Options describes the configuration properties for multitenancy.