sdr-enthusiasts / docker-readsb-protobuf

Multi-architecture readsb-protobuf container with support for RTLSDR, bladeRF and plutoSDR (x86_64, arm32v7, arm64v8)
227 stars 38 forks source link

Grafana dashboard with readsb datas #218

Open skybarberom opened 1 year ago

skybarberom commented 1 year ago

I configured readsb to send data to InfluxDB (2), by creating a bucket called readsb and an API key that I used in the environmental variables. I lmported the grafana dashboard and added the new datasource (with query language Flux) and configured the token. The dashboard doesn't populate because (I think from my low knowedge of grafana) the queries are written in SQL like format. Am I missing something or there is a different version of the grafana dashboard to use?

nottledim commented 1 year ago

It's not very clear is it! You have to create a data source specifically for influx v1 compatibility. Set the "Query language" to "InfluxQL". Then you need to add the api Token into "Custom HTTP Headers" where the header is "Authorization" and the value is "Token " (provide the word Token followed by a space and an InfluxDB API token. The word Token is case-sensitive).

I've basic auth (user/pass) too but I'm not sure it's required - I don't see why it would be.