postgresql - How to query rows with timestamps before today in grafana - Stack Overflow

How do I perform this kind of query in grafana?select some_column from some_table where some_datetime

How do I perform this kind of query in grafana?

select some_column from some_table where some_datetime < now();

I've made a dashboard variable that's populated from SELECT CURRENT_TIMESTAMP;

but i can't figure out how to get that into the query in grafana. I'm tempted to make some views in the db for this stuff.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1742322129a4422024.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信