admin管理员组

文章数量:1332351

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.

本文标签: postgresqlHow to query rows with timestamps before today in grafanaStack Overflow