aliyun-exporter icon indicating copy to clipboard operation
aliyun-exporter copied to clipboard

docker 镜像中不支持slb?

Open srui opened this issue 5 years ago • 0 comments

docker中info_provider.py中get_metrics没有slb的key。 copy最新的代码替换,发下启动仍然会报错

Traceback (most recent call last): File "/usr/local/lib/python3.7/socketserver.py", line 313, in _handle_request_noblock self.process_request(request, client_address) File "/usr/local/lib/python3.7/socketserver.py", line 344, in process_request self.finish_request(request, client_address) File "/usr/local/lib/python3.7/socketserver.py", line 357, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/local/lib/python3.7/socketserver.py", line 717, in init self.handle() File "/usr/local/lib/python3.7/wsgiref/simple_server.py", line 133, in handle handler.run(self.server.get_app()) File "/usr/local/lib/python3.7/wsgiref/handlers.py", line 144, in run self.close() File "/usr/local/lib/python3.7/wsgiref/simple_server.py", line 35, in close self.status.split(' ',1)[0], self.bytes_sent AttributeError: 'NoneType' object has no attribute 'split'

INFO:root:Start exporter, listen on 9525

请问下是否不支持slb?如支持是否可以从新打包Docker镜像,谢谢

srui avatar Oct 16 '19 04:10 srui