Hi Jamie, Thank you so much for your response.
The below query: SELECT derivative(sum("count"), 1s) FROM "numRecordsIn" WHERE "task_name" = 'Sink: Unnamed' AND $timeFilter GROUP BY time(1s) behaves the same as with the use of the templating variable in the 'All' case i.e. shows a plots of junk 'negative values' It shows accurate results/plot when an additional where clause for "subtask_index" is applied to the query. But without the "subtask_index" where clause (which means for all the subtask_indexes) it shows some junk/incorrect values on the graph (both highly positive & highly negative values in orders of millions) Images: <http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/file/n9816/Incorrect_%28for_all_subtasks%29.png> <http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/file/n9816/Correct_for_specific_subtask.png> Regards, Anchit -- View this message in context: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/Flink-Metrics-InfluxDB-Grafana-Help-with-query-influxDB-query-for-Grafana-to-plot-numRecordsIn-numRen-tp9775p9816.html Sent from the Apache Flink User Mailing List archive. mailing list archive at Nabble.com.