grafana / alloy

OpenTelemetry Collector distribution with programmable pipelines
https://grafana.com/oss/alloy
Apache License 2.0
1.28k stars 174 forks source link

Add `prometheus.exporter.sql` #218

Open thampiotr opened 6 months ago

thampiotr commented 6 months ago

Request

Embed the generic SQL exporter and expose as prometheus.exporter.sql component.

Use case

This is to monitor business logic in a generic SQL database.

The DB-specific exporters, like Postgres are moving away from supporting application-specific custom metrics (example). They are deprecating these features and users need to use a generic SQL exporter instead. So, for the agent to continue supporting application-specific custom metrics, we should also embed the SQL exporter.

github-actions[bot] commented 4 months ago

This issue has not had any activity in the past 30 days, so the needs-attention label has been added to it. If the opened issue is a bug, check to see if a newer release fixed your issue. If it is no longer relevant, please feel free to close this issue. The needs-attention label signals to maintainers that something has fallen through the cracks. No action is needed by you; your issue will be kept open and you do not have to respond to this comment. The label will be removed the next time this job runs if there is new activity. Thank you for your contributions!