export boolean as int
This commit is contained in:
parent
15497c7d09
commit
e793bf4b6a
@ -38,7 +38,7 @@ class RequestHandler(BaseHTTPRequestHandler):
|
||||
self.end_headers()
|
||||
self.wfile.write(bytes(exporter_prefix + "expoter_duration_seconds_sum " + str(int((datetime.now() - startTime).total_seconds())) + "\n", "utf-8"))
|
||||
self.wfile.write(bytes(exporter_prefix + "exporter_request_count " + str(request_count) + "\n", "utf-8"))
|
||||
self.wfile.write(bytes(exporter_prefix + "exporter_scrape_healthy " + str(scrape_healthy) + "\n", "utf-8"))
|
||||
self.wfile.write(bytes(exporter_prefix + "exporter_scrape_healthy " + str(int(scrape_healthy)) + "\n", "utf-8"))
|
||||
|
||||
for metric in station_metrics:
|
||||
#print(metric)
|
||||
|
Loading…
Reference in New Issue
Block a user