sensu / sensu-go

Simple. Scalable. Multi-cloud monitoring.
https://sensu.io
MIT License
1.02k stars 176 forks source link

Add ability to store data in Prometheus-compatible remote storage #3496

Open valyala opened 4 years ago

valyala commented 4 years ago

Feature Suggestion

It would be great if Sensu would support writing data to Prometheus-compatible remote storage via Prometheus remote_write API. Then the collected metrics could be sent to the following remote storage systems, which accept data over Prometheus remote_write API. The stored data could be queried with PromQL, which is better suited for typical time series queries comparing to InfluxQL and Flux. The following remote storage systems for Prometheus provide support for PromQL:

calebhailey commented 4 years ago

This could be implemented in a Sensu handler plugin. The new Sensu Plugin SDK, handler plugin template, and sensu-plugin-tool resources should be helpful for bootstrapping something here.

We have an officially supported Sensu Prometheus handler project in our backlog, so if the community doesn't beat us to this, we'll circle back here with updates as soon as we break ground.

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.