Package: grahpite-web Version: 0.9.12+debian-7 Severity: normal Tags: upstream patch
Dear Maintainer, If one want's to eg. consolidateBy(max) and also want to have some nice looking legends one would normally use aliasByMetric, but it does not work as intended in the debian version. It is already fixed upstream and backported to the 0.9.x by the graphite-web people themself, please apply this patch in debian too. # bug description Graphite query: aliasByMetric(consolidateBy(collectd.$S.interface-eth0.if_octets.*, 'max')) produced labels: `rx, 'max')` and `tx, 'max')` desired labels: `rx` and `tx` Please backport the fix to ignore trailing args in aliasByMetric(). Graphite-web issue (already merged on 25.8.2014): https://github.com/graphite-project/graphite-web/pull/885 Graphite-web patch: https://github.com/obfuscurity/graphite-web/commit/7fc74b830824691b5e0c8d421200976543b9f47a # patch: webapp/graphite/render/functions.py: @@ def aliasByMetric - series.name = series.name.split('.')[-1] + series.name = series.name.split('.')[-1].split(',')[0] Michael Gebetsroither -- System Information: Debian Release: jessie/sid APT prefers stable APT policy: (990, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Init: sysvinit (via /sbin/init) -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org