Fwd: Grafana, Django, Graphite, ect
Xavier Humbert
xavier at groumpf.org
Sat May 9 02:39:48 UTC 2020
FYI,
I'll try to update django to 1.9 (afaik, last support for python 2.7)
and graphite-web to 1.1.7.
Is there projects on your side to do this, or should I proceed ? Or do
you have some advice to port it entirely to pyton 3.7 whith django >=2
and graphite-web 1.2 ?
Thanks,
Regards,
Xavier
-------- Forwarded Message --------
Subject: Grafana, Django, Graphite, ect
Date: Sat, 9 May 2020 04:20:33 +0200
From: Xavier Humbert <xavier at groumpf.org>
To: FreeBSD Ports <freebsd-ports at freebsd.org>
Hello,
In my understanding, to work with graphite datasource, Grafana needs to
connect to graphite-web, since it cannot fetch data directly like with ELK.
But graphite-web is afaik, stucked with python 2.7, (and a bunch of py27
modules), while django 1.1.1 is EOLed. Tried django 2.2 (py37 only),
which as expected, crashes while importing modules.
So the simple question is : how to make all this stuff work with python
37, django 2 or 3, and recent graphite ? I know that (according to
graphite-web's github :
> ...keep in mind that Graphite-web supports Python versions *2.6 to
> 2.7* and Django versions *1.4 and above*.
So I think I will continue with python 2.7, but at least need to upgrade
django to the latest py27 version
I have plenty of time to test and try upgrading (thanks Covid), my
Grafana is not production yet, but I need some hints.
TIA,
Cheers,
Xavier
--
Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer
More information about the freebsd-python
mailing list