sql_exporter
sql_exporter copied to clipboard
can sql exporter support timestamps
Hi,
I would like to export values with their assigned timestamps. can I do it with sql exporter?
SQL Exporter does not support exporting values with timestamps, as described in the Prometheus exposition format documentation, e.g.
http_requests_total{method="post",code="200"} 1027 1395066363000
where 1027 is the sample value and 1395066363000 is the sample timestamp.
I guess the functionality could be added (contributions are welcome) but this is not commonly used functionality and Prometheus documentation advises against using it.