Quantcast
Channel: TimescaleDB and PostgreSQL - Timescale Community Forum
Viewing all articles
Browse latest Browse all 291

Migrate grafana dashboards from InfluxDB datasource to TimescaleDB

$
0
0

Hi, everybody! Have you tried this migration? Is there some suggestion, how to replace InfluxQL function like “non_negative_derivative”, for example query from Telegraf metric “net”

SELECT non_negative_derivative(mean(“bytes_recv”), 1s) * 8 AS “RX”, non_negative_derivative(mean(“bytes_sent”), 1s) * 8 AS “TX” FROM “default”.“net” WHERE (“host” =~ /^ad2rm1$/ AND “interface” =~ /^bond0$/ AND “dc” =~ /^tower$/) AND time >= now() - 24h and time <= now() GROUP BY time(2m) fill(linear)

how to get the same results from TimescaleDB?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 291

Trending Articles