@@ -76,37 +76,37 @@ func setupMetrics() {
76
76
// TODO(phboneff): add metrics for deduplication and chain storage.
77
77
knownLogs = promauto .NewGaugeVec (
78
78
prometheus.GaugeOpts {
79
- Name : "known_logs " ,
79
+ Name : "ct_known_logs " ,
80
80
Help : "Set to 1 for known logs" ,
81
81
},
82
82
[]string {"origin" })
83
83
lastSCTTimestamp = promauto .NewGaugeVec (
84
84
prometheus.GaugeOpts {
85
- Name : "last_sct_timestamp " ,
85
+ Name : "ct_last_sct_timestamp_ms " ,
86
86
Help : "Time of last SCT in ms since epoch" ,
87
87
},
88
88
[]string {"origin" })
89
89
lastSCTIndex = promauto .NewGaugeVec (
90
90
prometheus.GaugeOpts {
91
- Name : "last_sct_index " ,
91
+ Name : "ct_last_sct_index " ,
92
92
Help : "Index of last SCT" ,
93
93
},
94
94
[]string {"origin" })
95
95
reqsCounter = promauto .NewCounterVec (
96
96
prometheus.CounterOpts {
97
- Name : "http_reqs " ,
97
+ Name : "ct_http_reqs " ,
98
98
Help : "Number of requests" ,
99
99
},
100
100
[]string {"origin" , "ep" })
101
101
rspsCounter = promauto .NewCounterVec (
102
102
prometheus.CounterOpts {
103
- Name : "http_rsps " ,
103
+ Name : "ct_http_rsps " ,
104
104
Help : "Number of responses" ,
105
105
},
106
106
[]string {"origin" , "op" , "code" })
107
107
rspLatency = promauto .NewHistogramVec (
108
108
prometheus.HistogramOpts {
109
- Name : "http_latency " ,
109
+ Name : "ct_http_latency " ,
110
110
Help : "Latency of responses in seconds" ,
111
111
},
112
112
[]string {"origin" , "op" , "code" })
0 commit comments