Menu
Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.
Open source
Grafana Mimir tenant injector
The tenant injector is a standalone HTTP proxy that injects the X-Scope-OrgID
header with a value, which you specify via the -tenant-id
flag into incoming HTTP requests, and then forwards the modified requests to the URL you specify via the -remote-address
flag.
You can use the tenant injector to query data for a tenant during development or troubleshooting.
Usage of tenant-injector:
-local-address string
Local address to listen on (host:port or :port). (default ":8080")
-remote-address string
URL of target to forward requests to to (eg. http://domain.com:80).
-tenant-id string
Tenant ID to inject to proxied requests.
Was this page helpful?
Related resources from Grafana Labs
Additional helpful documentation, links, and articles:
60 min
Intro to metrics with Grafana: Prometheus, Grafana Mimir, and beyond
In this webinar, we’ll go over challenges when scaling metrics systems, with a particular focus on Prometheus and Grafana Mimir.
Video
Scaling and securing your Prometheus metrics in Grafana Cloud
In this webinar, we’ll go over Grafana Enterprise Metrics (GEM), a simple and scalable Prometheus service that is seamless to use, and simple to maintain
12 min read
Less is more: How Grafana Mimir queries run faster and more cost efficiently with fewer indexes
By avoiding inverted index lookups in the Prometheus TSDB, Mimir's memory usage was reduced by up to 64%.