helm-charts icon indicating copy to clipboard operation
helm-charts copied to clipboard

[tempo-distributed] Add OTel gRPC endpoints to nginx gateway

Open AlexDCraig opened this issue 2 years ago • 6 comments

I'd like to hit the OTLP gRPC endpoints the distributor has. Looks to me like the chart only presently supports the http endpoints for nginx routing.

AlexDCraig avatar May 18 '22 18:05 AlexDCraig

+1. Sounds like a duplicate of #733.

agermain avatar Jun 30 '22 08:06 agermain

@AlexDHoffer

It is a little daft

I am using an OpenTelemetry collector and this is the config I set up to make it work

    exporters:
       otlphttp/grafana-hosted:
        endpoint: http://tempo-distributed-gateway.grafana-tempo.svc.cluster.local:80/otlp

ahaw023 avatar Aug 02 '22 01:08 ahaw023

longer term fix will be to add a listener for grpc and proxy back to the config

ahaw023 avatar Aug 02 '22 01:08 ahaw023

I don't know about others but I would be perfectly satisfied with circumventing the Tempo gateway pods entirely (i.e. let them just focus on routing http traffic) and simply adding an ingress resource that supports grpc traffic that routes to the distributor. I guess the question with this issue is how would you like to see distributor grpc endpoints exposed.

If what I said above is satisfactory to people I could write it and submit it, I just am pretty uncertain that makes everybody happy.

AlexDCraig avatar Aug 05 '22 23:08 AlexDCraig

Also struggling with the same issue atm, tried to implement a workaround, the same as mentioned above - otlphttp exporter, but for some reason otlphttp cant send http headers for me, maybe im doing something wrong...

artyom-p avatar Aug 06 '22 17:08 artyom-p

Ah, heres why its not working... https://github.com/grafana/tempo/issues/495

artyom-p avatar Aug 07 '22 18:08 artyom-p

This has been fixed in https://github.com/grafana/tempo/issues/495

sambacha avatar Oct 06 '22 21:10 sambacha