-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
New component: Prometheus Remote Write receiver #33782
Comments
See #14751 (comment). The lack of transactionality in PRW 1.0 makes it difficult to implement a working receiver for PRW. IMO, we should wait to introduce this until PRW 2.0, which was just released as experimental: https://prometheus.io/docs/specs/remote_write_spec_2_0/. It solves the issues raised in the previous proposal. |
Should we consider |
Looking forward to this feature. Id be more than happy to test and provide feedbacks if any once merged |
I have a great initial implementation of a remoteWrite receiver, this foundation implemented all the configurations supported by the oltp receiver. So HTTP, gRPC, CORS, TLS and mTLS, and auth settings are all in there. This mirrored the https://github.com/open-telemetry/opentelemetry-collector/tree/main/receiver/otlpreceiver and its initial implementation is limited to sum and gauge metric mapping, but it is stable. The receiver has been running reliability in a production environment getting remoteWrites from prometheus and Victoria metrics. |
until this remotewrite receiver is ready, is there no other way to send metrics from prometheus to opentelemetry collector please? we have several k8s clusters and each with its own prometheus running to collect the metrics from the cluster. we would like to send the metrics collected by all prometheus instances (1 in each cluster) to central opentelemetry collector. So far, the only way i found is that i can add a prometheus receiver to opentelemetry pipeline which can go and scrap metrics directly from targets. Also the opentelemetry collectors run as a cluster behind load balancer. Does it mean, all the prometheus receivers will scrap the metrics from targets and hence will result in duplication? Thanks |
for anyone using splunk-otel-collector, there is a remote write receiver https://docs.splunk.com/observability/en/gdi/opentelemetry/components/signalfx-gateway-prometheus-remote-write-receiver.html |
@rakesh-p Im not sure about the signalfx receiver, it may be worth testing. Here is a example of a collector and a initial implementation: https://github.com/JustinMason/otel-collector/tree/main/receiver/prometheusremotewritereceiver |
I'm Arthur, a Prometheus team member and contributor to the otel-prometheus-wg! I'd love to work on a prototype that focuses on Prometheus Remote-Write v2 since we already know that v1 has a few limitations for good OTLP compatibility. |
I'm also happy to help with the review of a PRW 2.0 receiver |
I talked with @andrzej-stencel. I'm going to take over of the sponsor of the component to unblock development |
Thank you @dashpole! |
Thank you for all. Regarding the sponsor's not to proceed with reviewing and merging the PR, I will no longer be continuing its development. |
No worries @tomatopunk! Thanks for quickstarting the conversations here, I'm volunteering to continue your work :) |
**Description:** Add skeleton for Prometheus Remote-Write Receiver. With the release of PrometheusRemoteWritev2, there's commitment from the Prometheus team to implement and maintain this component :) prometheus/prometheus#12633 (comment) **Link to tracking Issue:** #33782 Signed-off-by: Arthur Silva Sens <[email protected]>
…ry#35295) **Description:** Add skeleton for Prometheus Remote-Write Receiver. With the release of PrometheusRemoteWritev2, there's commitment from the Prometheus team to implement and maintain this component :) prometheus/prometheus#12633 (comment) **Link to tracking Issue:** open-telemetry#33782 Signed-off-by: Arthur Silva Sens <[email protected]>
…sts (#35535) Part of #33782 **Description:** This PR adds an HTTP server to the `prometheusremotewritereceiver` component. To keep PRs small for easier reviews, the handler doesn't do anything at the moment. Signed-off-by: Arthur Silva Sens <[email protected]>
…sts (open-telemetry#35535) Part of open-telemetry#33782 **Description:** This PR adds an HTTP server to the `prometheusremotewritereceiver` component. To keep PRs small for easier reviews, the handler doesn't do anything at the moment. Signed-off-by: Arthur Silva Sens <[email protected]>
I don't understand how can i make test of this new receiver. |
@adelbot It is still under development. It will be added to contrib after it reaches alpha. |
The purpose and use-cases of the new component
The new component, Prometheus remote write receive, is designed to enable OpenTelemetry collectors to receive metrics data from Prometheus instances via the remote write protocol. This allows for seamless integration of Prometheus metrics into the OpenTelemetry ecosystem, enabling centralized metrics collection, processing, and exporting to various backends.
Example configuration for the component
Telemetry data types supported
metric
Is this a vendor-specific component?
Code Owner(s)
@tomatopunk
Sponsor (optional)
@andrzej-stencel
Additional context
The tracking issue #10358, #14751 was closed because this component did not have a sponsor.
The text was updated successfully, but these errors were encountered: