Replace unicode chars

This commit is contained in:
2026-03-24 20:32:49 +01:00
parent edc8f4296a
commit 699c3680cd
2 changed files with 8 additions and 8 deletions

View File

@@ -28,7 +28,7 @@ func newExporter(reg prometheus.Registerer) *exporter {
e := &exporter{
uptime: prometheus.NewGaugeVec(prometheus.GaugeOpts{
Name: "ct_log_uptime_ratio",
Help: "24h uptime ratio (01) for a CT log endpoint, sourced from gstatic.com.",
Help: "24h uptime ratio (0-1) for a CT log endpoint, sourced from gstatic.com.",
}, []string{"log_url", "endpoint"}),
fetchOk: prometheus.NewGauge(prometheus.GaugeOpts{
Name: "ct_log_uptime_fetch_success",
@@ -116,7 +116,7 @@ func main() {
addr := flag.String("listen", ":9781", "address to listen on")
csvURL := flag.String("url", "https://www.gstatic.com/ct/compliance/endpoint_uptime_24h.csv", "URL of the uptime CSV")
interval := flag.Duration("interval", 12*time.Hour, "how often to fetch the CSV")
jitter := flag.Duration("jitter", 5*time.Minute, "maximum ±jitter applied to the fetch interval")
jitter := flag.Duration("jitter", 5*time.Minute, "maximum +/-jitter applied to the fetch interval")
flag.Parse()
reg := prometheus.NewRegistry()