Hi Team
What is the best way to add “X-Scope-OrgID” to grafana cloud agent.
We are planning to use Cortex to receive all the data collected by Grafana Cloud Agent.
Our Initial approach was to use Prometheus to pull metrics and then send to cortex ,
I was following this link , Authentication and Authorisation | Cortex (cortexmetrics.io)
As per the document : “When configuring the remote_write
API in Prometheus there is no way to add extra headers. The user and password fields of http Basic auth, or Bearer token, can be used to convey the tenant ID and/or credentials” .
Which means that i need to run Prometheus instance behind nginx reverse proxy.
But now Prometheus instance is replaced by Grafana Cloud Agent , can some one help me the best possible way to add “X-Scope-OrgID” to GCA ?