Skip to content
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

Closed
SkrPaoWang opened this issue May 25, 2021 · 10 comments
Closed

can opentelemetry collector collect data directly from thanos? #4970

SkrPaoWang opened this issue May 25, 2021 · 10 comments
Labels
comp:prometheus Prometheus related issues

Comments

@SkrPaoWang
Copy link

as title

@bogdandrutu
Copy link
Member

Does Thanos export data in any protocol? I thought Thanos is a backend.

@rakyll
Copy link
Contributor

rakyll commented Jun 2, 2021

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.

@rakyll
Copy link
Contributor

rakyll commented Jul 9, 2021

prometheusremotewriteexporter should work. We can close this issue. Please reopen if you have an issue with the exporter.

@bogdandrutu bogdandrutu transferred this issue from open-telemetry/opentelemetry-collector Aug 30, 2021
@alolita alolita added the comp:prometheus Prometheus related issues label Sep 2, 2021
@hwrdthdck
Copy link

That's not what the person meant... seems pretty clear that he/she was asking Thanos -> OTEL ... your answer is OTEL -> Thanos.

@bluubean
Copy link

@jpkrohling Can we reopen this ? The original question was not answered.

@jpkrohling jpkrohling reopened this Jan 25, 2024
@jpkrohling
Copy link
Member

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 :-)

@NikitaVoitov
Copy link

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?

@jpkrohling
Copy link
Member

I feel like this would be better directed at the Thanos folks.

@jpkrohling
Copy link
Member

jpkrohling commented Feb 19, 2024

@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

@ArthurSens
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp:prometheus Prometheus related issues
Projects
None yet
Development

No branches or pull requests

9 participants