Skip to content

[Prometheus remote-write receiver] Create a receiver to send metrics using Prometheus remote-write API #10358

Closed
@carlosjgp

Description

Is your feature request related to a problem? Please describe.
We are trying to design an architecture where the metrics, traces and logs collectors have as a little CPU and memory footprint as possible on the K8s clusters where we deploy them

Cluster client                                                      Centralised receivers
--------------------------------------------|                      |---------------------------------------------|
Prometheus -- remote-write--->| OTEL agent--|-----otlp mTLS------> |---> OTEL deployment--->|---> Thanos receive |
Apps ----------otel traces--->|             |                      |                        |---> Grafana Tempo  |
Promtail--------logs--------->|             |                      |                        |---> Grafana Loki   |
--------------------------------------------|                      |---------------------------------------------|

Describe the solution you'd like
Create a receiver that is able to expose a port compatible with Prometheus Remote writer API so I can still use Prometheus capabilities to collect metrics and OTEL agent to receive traces, decorate (processors) and route them to the correct tracing, metrics and logging storage

Describe alternatives you've considered
Use OTEL agent to collect metrics as a Prometheus replacement but Rules are not part of the integration and I also use PrometheusOperator, which seems to have a receiver proposal but still no Rules support.

Prometheus Rules are evaluated per cluster and sent to the centralised cluster where Thanos Ruler will evaluate them and contact AlertManager

For now, I'll send the metrics directly from Prometheus to Thanos receive over HTTPS with TLS auth

Additional context

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions