菜单
开源

Grafana Mimir 租户注入器

租户注入器是一个独立的 HTTP 代理,它会将你通过 -tenant-id 标志指定的值注入到传入 HTTP 请求的 X-Scope-OrgID 头部中,然后将修改后的请求转发到你通过 -remote-address 标志指定的 URL。

你可以在开发或故障排除期间使用租户注入器查询特定租户的数据。

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.