Replies: 3 comments
-
Tempo only supports ingestion of trace telelmetry data. By default I think that an OTel client will try to send metrics, traces and logs to the configured endpoint. Can you confirm that logs/metrics data is turned off? The current env vars are here:
This has changed though so you may want to double check your client. Another option would be to point your app at the OTel Collector which supports all telemetry ingestion and then have the collector send to Tempo. |
Beta Was this translation helpful? Give feedback.
-
To add one more possibility. We used to be on a quite old version of our OTel dependency but have recently updated to latest. If you try the latest Tempo images you may find that it works. |
Beta Was this translation helpful? Give feedback.
-
Using the gRPC protocol seems to work without any changes (I can see the traces in Tempo), and without apparent errors. Do you known if that is normal? I wasn't aware of the OTEL environment variables (thx for the link!); they do not seem to work with the dotnet library thou. I will check the library source code to see whether they are actually looking into them. PS: The actual source code does not look for any of the OTEL_*_EXPORTER environment variables. Thou, it seems to only send Traces, so its not trying to send Metrics nor Logs. With latest Tempo images you mean after 1.2.1? For example, the latest from the main branch? PS: Tried with grafana/tempo:main-9f0a021, same result. |
Beta Was this translation helpful? Give feedback.
-
I'm trying to use the opentelemetry-dotnet library to send traces to Tempo.
I've configured Tempo to enable the otlp http protocol as (the full config is at my playground repo):
I've configured opentelemetry-dotnet as (the full code is at my playground repo):
But Tempo is returning a
501 Not Implemented
as can be seen at this wireshark text capture:Do you have any idea why? And what should I do to make it work?
Beta Was this translation helpful? Give feedback.
All reactions