diff --git a/gas-station-exporter.py b/gas-station-exporter.py index 43015b2..2a9b1d6 100644 --- a/gas-station-exporter.py +++ b/gas-station-exporter.py @@ -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)