You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 28, 2019. It is now read-only.
name: AppendObjectCount
period: 60
报错信息:
Traceback (most recent call last):
File "/home/opsuser/pyenv/versions/3.6.5/bin/aliyun-exporter", line 10, in
sys.exit(main())
File "/home/opsuser/pyenv/versions/3.6.5/lib/python3.6/site-packages/aliyun_exporter/init.py", line 39, in main
REGISTRY.register(collector)
File "/home/opsuser/pyenv/versions/3.6.5/lib/python3.6/site-packages/prometheus_client/registry.py", line 24, in register
names = self._get_names(collector)
File "/home/opsuser/pyenv/versions/3.6.5/lib/python3.6/site-packages/prometheus_client/registry.py", line 64, in _get_names
for metric in desc_func():
File "/home/opsuser/pyenv/versions/3.6.5/lib/python3.6/site-packages/aliyun_exporter/collector.py", line 134, in collect
yield from self.metric_generator(project, metric)
File "/home/opsuser/pyenv/versions/3.6.5/lib/python3.6/site-packages/aliyun_exporter/collector.py", line 125, in metric_generator
gauge.add_metric([try_or_else(lambda: str(point[k]), '') for k in label_keys], point[measure])
KeyError: 'Average'
请问,这个问题该怎么解决呢? 配置nas和slb的时候都会出现同样的问题.
谢谢.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
配置文件内容:
acs_oss_dashboard:
period: 60
报错信息:
Traceback (most recent call last):
File "/home/opsuser/pyenv/versions/3.6.5/bin/aliyun-exporter", line 10, in
sys.exit(main())
File "/home/opsuser/pyenv/versions/3.6.5/lib/python3.6/site-packages/aliyun_exporter/init.py", line 39, in main
REGISTRY.register(collector)
File "/home/opsuser/pyenv/versions/3.6.5/lib/python3.6/site-packages/prometheus_client/registry.py", line 24, in register
names = self._get_names(collector)
File "/home/opsuser/pyenv/versions/3.6.5/lib/python3.6/site-packages/prometheus_client/registry.py", line 64, in _get_names
for metric in desc_func():
File "/home/opsuser/pyenv/versions/3.6.5/lib/python3.6/site-packages/aliyun_exporter/collector.py", line 134, in collect
yield from self.metric_generator(project, metric)
File "/home/opsuser/pyenv/versions/3.6.5/lib/python3.6/site-packages/aliyun_exporter/collector.py", line 125, in metric_generator
gauge.add_metric([try_or_else(lambda: str(point[k]), '') for k in label_keys], point[measure])
KeyError: 'Average'
请问,这个问题该怎么解决呢? 配置nas和slb的时候都会出现同样的问题.
谢谢.
The text was updated successfully, but these errors were encountered: