diff options
author | nicolargo <nicolas@nicolargo.com> | 2021-07-24 18:01:27 +0200 |
---|---|---|
committer | nicolargo <nicolas@nicolargo.com> | 2021-07-24 18:01:27 +0200 |
commit | 90ba099c6f2aa82c8362779b1e9951a3077b4a4a (patch) | |
tree | 2a262d72718922f70f376649fbf3e048e647fd4f | |
parent | 1b549041fc1f81115abcf9ba57e347fbda114892 (diff) |
InfluxDB/InfluxDB2 Export object has no attribute hostname #1899
-rw-r--r-- | glances/exports/glances_influxdb.py | 1 | ||||
-rw-r--r-- | glances/exports/glances_influxdb2.py | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/glances/exports/glances_influxdb.py b/glances/exports/glances_influxdb.py index ac2de3c0..705c4e9e 100644 --- a/glances/exports/glances_influxdb.py +++ b/glances/exports/glances_influxdb.py @@ -45,6 +45,7 @@ class Export(GlancesExport): self.protocol = 'http' self.prefix = None self.tags = None + self.hostname = None # Load the InfluxDB configuration file self.export_enable = self.load_conf('influxdb', diff --git a/glances/exports/glances_influxdb2.py b/glances/exports/glances_influxdb2.py index ca788aa9..55bae118 100644 --- a/glances/exports/glances_influxdb2.py +++ b/glances/exports/glances_influxdb2.py @@ -43,6 +43,7 @@ class Export(GlancesExport): self.protocol = 'http' self.prefix = None self.tags = None + self.hostname = None # Load the InfluxDB configuration file self.export_enable = self.load_conf('influxdb2', |