olxbr / metrics-server-exporter

Metrics Server Exporter
MIT License
69 stars 24 forks source link

docker log ERR #47

Open yinyucheng111 opened 3 years ago

yinyucheng111 commented 3 years ago

Traceback (most recent call last): File "app.py", line 121, in REGISTRY.register(MetricsServerExporter()) File "/usr/local/lib/python3.6/site-packages/prometheus_client/core.py", line 54, in register names = self._get_names(collector) File "/usr/local/lib/python3.6/site-packages/prometheus_client/core.py", line 91, in _get_names for metric in desc_func(): File "app.py", line 71, in collect nodes = json.loads(ret['nodes'].text) File "/usr/local/lib/python3.6/json/init.py", line 354, in loads return _default_decoder.decode(s) File "/usr/local/lib/python3.6/json/decoder.py", line 342, in decode raise JSONDecodeError("Extra data", s, end) json.decoder.JSONDecodeError: Extra data: line 1 column 5 (char 4)