# Functions
GetTenantFromHTTP extracts the tenant from a http.Request object.
InternalTenancyConversionTripper is a tripperware that rewrites the configurable tenancy header in the request into the hardcoded tenancy header that is used for internal communication in Thanos components.
This function will: - Get tenant from HTTP header and add it to context.
This function will: - Get tenant from HTTP header and add it to context.
# Constants
Allowed fields in client certificates.
Allowed fields in client certificates.
Allowed fields in client certificates.
DefaultTenant is the default value used for when no tenant is passed via the tenant header.
DefaultTenantHeader is the default header used to designate the tenant making a request.
DefaultTenantLabel is the default label-name with which the tenant is announced in stored metrics.
MetricLabel is the label name used for adding tenant information to exported metrics.
This key is used to pass tenant information using Context.