tkurki / signalk-to-influxdb2

Apache License 2.0
6 stars 4 forks source link

doc: update Grafana instructions #69

Closed tkurki closed 3 weeks ago

tkurki commented 4 weeks ago

Add note about InfluxDb version and update authentication instructions.

mairas commented 4 weeks ago

Looks good to me!

Sberl: the Authorization header is definitely required when using InfluxQL. See here: https://docs.influxdata.com/influxdb/v2/tools/grafana/?t=InfluxQL

There seems to be some InfluxDB v1 compatibility username/password authentication scheme as well, but the token header is straightforward and works.

sberl commented 4 weeks ago

My current setup is definitely working without the Authorization header with both flux and fluxQL.

grafana version 11.3.0 InfluxDB v2.7.10 (git: f302d9730c) build_date: 2024-08-16T20:19:39Z On a Raspberry PI

tkurki commented 4 weeks ago

I just tried and could not get InfluxQL work with anything else but the custom header. @sberl could you please try to create another influx connection and doublecheck the steps to get it working?

sberl commented 3 weeks ago

Just configured a new influxQL data source in grafana and it worked without the custom header. Perhaps there is something in my influxdb configuration that is allowing this to work?

Steve

On Tue, Oct 29, 2024 at 11:41 PM Teppo Kurki @.***> wrote:

I just tried and could not get InfluxQL work with anything else but the custom header. @sberl https://github.com/sberl could you please try to create another influx connection and doublecheck the steps to get it working?

— Reply to this email directly, view it on GitHub https://github.com/tkurki/signalk-to-influxdb2/pull/69#issuecomment-2445991286, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHXLENOERH5ZYVDKSPBCEDZ6B5SFAVCNFSM6AAAAABQ2XNPVKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINBVHE4TCMRYGY . You are receiving this because you were mentioned.Message ID: @.***>

-- -steve

tkurki commented 3 weeks ago

I think I've resolved the mismatch between our experiences: updating InfluxDB to 2.7.10 makes using token as the password work, even if I could not find anything related to this in https://docs.influxdata.com/influxdb/v2/reference/release-notes/influxdb/ with a quick look (I did not read it all, just tried with a bunch of search words...).

I updated the docker compose configuration so that the instructions in README work with that.

sberl commented 3 weeks ago

Mystery solved. Thanks.