What’s the InfluxDB version shipped with the Grafana package?
Hello, thank you very much for the Grafana app! I understand, and I read in the script that it installs InfluxDB as a dependency. I also understand that it installs the stable version available in the Debian repository, is it correct? Does it mean that the installed version is 1.6.7? (Debian -- Details of package influxdb in bullseye) (or maybe 1.6.4 for Buster).
Hello,
Yes, the influxdb version is the one included in the Debian distribution. I don’t know why you’re requiring version 2, but generally we try to stick to Debian version to ensure stability (and here the package is quite oriented toward persisting netdata measures).
Why I need version 2? Good question! And to be honest, mainly to have the latest version
But looking around in the forums though, I have more rational arguments to analyse the differences between v1 and v2 As far as I understood:
The upgrade from 1.x to 2.1 looks not that easy, and it will be required at some point in the future, when 1.x won’t be maintained anymore: better to start with v2 from the beginning
the flux language looks like the future of Influx DB, more powerful: I’d like to start writing our queries with this, rather than changing everything in the future
It includes basic dashboards (I could avoid Grafana for some easy monitoring)
I includes an alert system (in case data collection has an issue for instance)
The migration you’re referring to will anyway be needed for existing users…
I’m sorry but I don’t see enough convincing points to prioritize that point. But of course feel free to share your experience in upgrading to influxdb2, and even better, propose a PR
Indeed, the migration will anyway be needed, but if this complexity can be avoided for new users, it’s always a benefit, don’t you think? In addition, the current Debian maintainer for InfluxDB doesn’t have time to update the Debian repository (https://github.com/influxdata/influxdb/issues/10638#issuecomment-1031550651). Do you think it could create (security) issues with the Debian package? Using the official InfluxData repository would solve this (even for v1).
Something I don’t know: is it possible to let the user choose between 2 options? In this case, between influxdb1 and influxdb2, which would be less stable?
It’s likely they [Debian] simply don’t have the time or know of the demand for them to provide an updated version. InfluxData does support Debian user directly, by hosting our own APT repository and publishing updated packages there as part of our regular release process.
Don’t you think we should use the official InfluxDB repository to have an updated version, avoid security issues and benefit from the new features?