-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can opentelemetry collector collect data directly from thanos? #4970
Comments
Does Thanos export data in any protocol? I thought Thanos is a backend. |
If you meant whether the collector can send data directly to Thanos, see https://github.com/open-telemetry/opentelemetry-collector/tree/main/exporter/prometheusremotewriteexporter. Thanos speaks Prometheus remote write, if you use the remote write exporter, you will be able to ingest metrics to Thanos. |
prometheusremotewriteexporter should work. We can close this issue. Please reopen if you have an issue with the exporter. |
That's not what the person meant... seems pretty clear that he/she was asking Thanos -> OTEL ... your answer is OTEL -> Thanos. |
@jpkrohling Can we reopen this ? The original question was not answered. |
Sure, but further clarification is needed: what do you mean with the request? Do you want to see Thanos own telemetry being exported to OpenTelemetry? Without further clarification, I'd say that this is a question for the Thanos folks. cc @bwplotka, who might be able to decipher what's being asked here :-) |
Question was pretty much clear: Thanos -> OTEL. Setup when I want to convert Thanos aggregated telemetry to OTEL and then send it to OTLP compliant backend. Any thoughts how to configure that? |
I feel like this would be better directed at the Thanos folks. |
@ArthurSens has helped me confirm with the Thanos folks that this is not possible. Here's a thread where this was discussed: https://cloud-native.slack.com/archives/CK5RSSC10/p1708372304104429 |
Thanos does not receive, nor export metrics in the OTLP format. Although receiving OTLP is already being discussed. Thanos-Ruler is capable of performing remote-write, so, in theory, an otel-collector configured with remotewritereceiver would be able to ingest it. I'm not sure if there's a use case where you want to ingest the results from Thanos-ruler though. That's it for metrics. Now unrelated to metrics, Thanos produces spans that can be ingested by a otel-collector just like any other application |
as title
The text was updated successfully, but these errors were encountered: