chirpstack-application-server icon indicating copy to clipboard operation
chirpstack-application-server copied to clipboard

Should DR and frequency be handled as SNR and RSSI (_measurement) in InfluxDB2 integration?

Open andryyy opened this issue 4 years ago • 0 comments

Hi,

referring to https://github.com/brocaar/chirpstack-application-server/blob/b4ddcf029db6f0d2c6c6301ee2d6f637666aea87/internal/integration/influxdb/influxdb.go#L200-L206

DR and frequency are handled as tags and therefore inserted as string values into InfluxDB2:

grafik

It would be nice to query InfluxDB2 for measurements on DR or frequency, too. It is possible to use keyValues in Flux, drop all other measurements and convert the string to an int, but that's pretty heavy on resources.

I use it to create alerts on drops to lower DRs. Frequency is probably less interesting and just interesting to see. :-)

What do you think about that?

andryyy avatar Mar 23 '22 07:03 andryyy