justwatchcom / sql_exporter

Flexible SQL Exporter for Prometheus.
MIT License
404 stars 109 forks source link

specific time to collect data #59

Open roham1371 opened 2 years ago

roham1371 commented 2 years ago

Can we a specific time to collect data in sql_exporter ? example start_time 10:00:00

dewey commented 2 years ago

This is currently not supported. I'd be willing to accept a contribution that accepts a schedule instead of an interval config value that could be in a cron job notation.

Something like https://github.com/robfig/cron could be used to initialize all jobs if a schedule key is found for a job on startup.

Do you want to work on it?

roham1371 commented 2 years ago

So thanks mr

Message ID: @.***>

Do you know a suitable exporter for this promethouse? Thank you for your help.