From owner-freebsd-ports@freebsd.org Sat May 9 02:21:01 2020 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CC70C2D5957 for ; Sat, 9 May 2020 02:21:01 +0000 (UTC) (envelope-from xavier@groumpf.org) Received: from aragorn.amdh.fr (aragorn.groumpf.org [176.31.180.205]) by mx1.freebsd.org (Postfix) with ESMTP id 49JrXX3XM0z43q0 for ; Sat, 9 May 2020 02:20:59 +0000 (UTC) (envelope-from xavier@groumpf.org) Received: from numenor.groumpf.org (numenor [78.251.129.10]) by aragorn.amdh.fr (Postfix) with ESMTP id 613B2134284 for ; Sat, 9 May 2020 04:20:52 +0200 (CEST) Received: from numenor.groumpf.org (localhost [127.0.0.1]) by numenor.groumpf.org (Postfix) with ESMTP id 7C3E825C64 for ; Sat, 9 May 2020 04:20:51 +0200 (CEST) X-Virus-Scanned: amavisd-new at groumpf.org Received: from numenor.groumpf.org ([127.0.0.1]) by numenor.groumpf.org (ns3.groumpf.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 1aM0n6uyEHtR for ; Sat, 9 May 2020 04:20:35 +0200 (CEST) Received: from [192.168.0.16] (unknown [88.122.81.46]) by numenor.groumpf.org (Postfix) with ESMTPSA id 9CE7725D01 for ; Sat, 9 May 2020 04:20:34 +0200 (CEST) To: FreeBSD Ports From: Xavier Humbert Subject: Grafana, Django, Graphite, ect Message-ID: <1537825b-f6ba-6f50-094b-4fa4e74eeb6f@groumpf.org> Date: Sat, 9 May 2020 04:20:33 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 Content-Language: en-US X-Rspamd-Queue-Id: 49JrXX3XM0z43q0 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of xavier@groumpf.org has no SPF policy when checking 176.31.180.205) smtp.mailfrom=xavier@groumpf.org X-Spamd-Result: default: False [-1.89 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org]; DMARC_NA(0.00)[groumpf.org]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(-0.89)[ip: (-7.94), ipnet: 176.31.0.0/16(1.49), asn: 16276(1.99), country: FR(-0.00)]; TO_DN_ALL(0.00)[]; R_SPF_NA(0.00)[]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:16276, ipnet:176.31.0.0/16, country:FR]; MID_RHS_MATCH_FROM(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[46.81.122.88.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11, 10.129.251.78.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.32 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.32 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 May 2020 02:21:01 -0000 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