Skip to content
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

can sql exporter support timestamps #35

Open
romange opened this issue Jul 8, 2019 · 1 comment
Open

can sql exporter support timestamps #35

romange opened this issue Jul 8, 2019 · 1 comment

Comments

@romange
Copy link

romange commented Jul 8, 2019

Hi,

I would like to export values with their assigned timestamps. can I do it with sql exporter?

@free
Copy link
Owner

free commented Jul 8, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants