]> arthur.barton.de Git - netdata.git/commitdiff
fix wrong chart name when using autodetection
authorpaulfantom <paulfantom@gmail.com>
Tue, 12 Jul 2016 23:14:41 +0000 (01:14 +0200)
committerpaulfantom <paulfantom@gmail.com>
Tue, 12 Jul 2016 23:14:41 +0000 (01:14 +0200)
plugins.d/python.d.plugin

index 3e13be027b9eb605f629e7a1f2c0056069eecd2a..2acfe16fd325eff9f928f403de3fd23ca93ae1d6 100755 (executable)
@@ -331,7 +331,7 @@ class PythonCharts(object):
                         if job.override_name is not None:
                             job.name = job.override_name
                             msg.debug(job.chart_name + " changing chart name to: " + job.__module__ + job.name)
-                            job.chart_name = job.__module__ + job.name
+                            job.chart_name = job.__module__ + '_' + job.name
                             overridden.append(job.name)
                     except Exception:
                         pass