I’m using Telegraf SNMP to capture data into Influx,
and I have a SingleStat metric in grafana with this query:
SELECT non_negative_derivative(percentile(“ifHCOutOctets”, 95), 1s) *8 FROM “snmp” WHERE “hostname” =~ /^$Switch$/ AND “ifAlias” =~ /^$Alias$/ AND $timeFilter GROUP BY time($__interval) fill(none)
However percentile function does not seem to work? the value returned is not 95th percentile, infact i changed 95 to 50, and the number stays the same.