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
Nanosecond timestamp support #14711
Nanosecond timestamp support #14711
Conversation
this should probably be named unixEpochNanoFilter and unixEpochNanoFrom and unixEpochNanoTo should be added as new macros as well, probably makes sense to add this to the other sql datasources too |
Thanks @svenklemm for your response. I have made those changes and I have added them to mysql and msqql. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would be good if these were added to the docs as well.
https://github.com/grafana/grafana/blob/master/docs/sources/features/datasources/postgres.md
@torkelo You are right, documentation updated |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
Thank you for contributing to Grafana! |
Created a new macro for retrieving metrics with nanosecond timestamps using PostgreSQL. The name for the new macro is $__unixEpochFilterNano and it works in the same way as $__unixEpochFilter.