aboutsummaryrefslogtreecommitdiff
path: root/metric.go
diff options
context:
space:
mode:
Diffstat (limited to 'metric.go')
-rw-r--r--metric.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/metric.go b/metric.go
index 1d0f100..7e3e8b2 100644
--- a/metric.go
+++ b/metric.go
@@ -9,7 +9,6 @@ var (
reqcnt monitoring.Counter // number of incoming http requests
rspcnt monitoring.Counter // number of valid http responses
latency monitoring.Histogram // request-response latency
- lastSdiTimestamp monitoring.Gauge // unix timestamp from the most recent sdi
lastSthTimestamp monitoring.Gauge // unix timestamp from the most recent sth
lastSthSize monitoring.Gauge // tree size of most recent sth
)
@@ -20,6 +19,5 @@ func init() {
rspcnt = mf.NewCounter("http_rsp", "number of http requests", "logid", "endpoint", "status")
latency = mf.NewHistogram("http_latency", "http request-response latency", "logid", "endpoint", "status")
lastSthTimestamp = mf.NewGauge("last_sth_timestamp", "unix timestamp while handling the most recent sth", "logid")
- lastSdiTimestamp = mf.NewGauge("last_sdi_timestamp", "unix timestamp while handling the most recent sdi", "logid")
lastSthSize = mf.NewGauge("last_sth_size", "most recent sth tree size", "logid")
}