Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 May 2020 04:39:15 +0200
From:      Xavier Humbert <xavier@groumpf.org>
To:        python@freebsd.org
Subject:   Fwd: Grafana, Django, Graphite, ect
Message-ID:  <0db61bb8-9103-3c25-0bdc-8ff5ee452d87@groumpf.org>
In-Reply-To: <1537825b-f6ba-6f50-094b-4fa4e74eeb6f@groumpf.org>
References:  <1537825b-f6ba-6f50-094b-4fa4e74eeb6f@groumpf.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@groumpf.org>
To: 	FreeBSD Ports <freebsd-ports@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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0db61bb8-9103-3c25-0bdc-8ff5ee452d87>