mirror of https://github.com/nicolargo/glances
StatsD export prefix option is ignored #1074
parent
51c90c4a1f
commit
cc06451cc0
2
NEWS
2
NEWS
|
@ -5,7 +5,7 @@ Glances Version 2
|
||||||
Version 2.9.2
|
Version 2.9.2
|
||||||
=============
|
=============
|
||||||
|
|
||||||
* ...
|
* StatsD export prefix option is ignored (issue #1074)
|
||||||
|
|
||||||
Version 2.9.1
|
Version 2.9.1
|
||||||
=============
|
=============
|
||||||
|
|
|
@ -57,7 +57,7 @@ class Export(GlancesExport):
|
||||||
# Init the Statsd client
|
# Init the Statsd client
|
||||||
self.client = self.init()
|
self.client = self.init()
|
||||||
|
|
||||||
def init(self, prefix='glances'):
|
def init(self):
|
||||||
"""Init the connection to the Statsd server."""
|
"""Init the connection to the Statsd server."""
|
||||||
if not self.export_enable:
|
if not self.export_enable:
|
||||||
return None
|
return None
|
||||||
|
@ -66,7 +66,7 @@ class Export(GlancesExport):
|
||||||
self.port))
|
self.port))
|
||||||
return StatsClient(self.host,
|
return StatsClient(self.host,
|
||||||
int(self.port),
|
int(self.port),
|
||||||
prefix=prefix)
|
prefix=self.prefix)
|
||||||
|
|
||||||
def export(self, name, columns, points):
|
def export(self, name, columns, points):
|
||||||
"""Export the stats to the Statsd server."""
|
"""Export the stats to the Statsd server."""
|
||||||
|
|
Loading…
Reference in New Issue