HTTPBytes tracks byte counts by type and zone from the last poll window.
varHTTPBytes = promauto.NewGaugeVec(prometheus.GaugeOpts{
Name: "cflog_http_bytes",
Help: "HTTP bytes by type from last poll window",
}, []string{"type", "zone"})
HTTPRequests tracks HTTP request counts from the last poll window.
varHTTPRequests = promauto.NewGaugeVec(prometheus.GaugeOpts{
Name: "cflog_http_requests",
Help: "HTTP request counts from last poll window",
}, []string{"method", "status", "country", "zone"})
LastPollTimestamp records the unix timestamp of the last successful poll.
varLastPollTimestamp = promauto.NewGaugeVec(prometheus.GaugeOpts{
Name: "cflog_last_poll_timestamp",
Help: "Unix timestamp of last successful poll",
}, []string{"dataset", "zone"})