Im trying to use the OTLPSpanExporter (either the http or grpc) version to send traces to tempo cloud but i wasn't able to find any documentation on how to add the authentication.
I tried something like this but i get constants error saying that the headers key's are invalid if im using the grpc version and 404 using the http version. I also tried without the the /tempo
path and different variations i found like '/v1/traces' but i was also getting 404 everytime.
otlp_exporter = OTLPSpanExporter(
endpoint="https://tempo-us-central1.grafana.net",
headers={
"Content-Type": "application/json",
"Authorization": f"Basic {urllib.parse.quote_plus('XXXX')}",
}
)
Has anyone managed to implement this?