This repository was archived by the owner on May 2, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 129
KeyError: 'lastBuild' #28
Copy link
Copy link
Open
Description
I'm having the following error using this exporter.
KeyError: 'lastBuild'
Traceback (most recent call last):
File "/usr/local/lib/python2.7/SocketServer.py", line 295, in _handle_request_noblock
self.process_request(request, client_address)
File "/usr/local/lib/python2.7/SocketServer.py", line 321, in process_request
self.finish_request(request, client_address)
File "/usr/local/lib/python2.7/SocketServer.py", line 334, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/usr/local/lib/python2.7/SocketServer.py", line 655, in __init__
self.handle()
File "/usr/local/lib/python2.7/BaseHTTPServer.py", line 340, in handle
self.handle_one_request()
File "/usr/local/lib/python2.7/BaseHTTPServer.py", line 328, in handle_one_request
method()
File "/usr/local/lib/python2.7/site-packages/prometheus_client/exposition.py", line 54, in do_GET
self.wfile.write(generate_latest(core.REGISTRY))
File "/usr/local/lib/python2.7/site-packages/prometheus_client/exposition.py", line 33, in generate_latest
for metric in registry.collect():
File "/usr/local/lib/python2.7/site-packages/prometheus_client/core.py", line 54, in collect
for metric in collector.collect():
File "./jenkins_exporter.py", line 30, in collect
self._get_metrics(name, job)
File "./jenkins_exporter.py", line 89, in _get_metrics
status_data = job[status] or {}
What would it mean?
Thanks
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels