Skip to content

Commit

Permalink
Prefix metrics with ctile_
Browse files Browse the repository at this point in the history
  • Loading branch information
jsha committed Sep 5, 2023
1 parent 04859aa commit 7d632de
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ func main() {

requestsMetric := prometheus.NewCounterVec(
prometheus.CounterOpts{
Name: "requests",
Name: "ctile_requests",
Help: "total number of requests, by result and source",
},
[]string{"result", "source"},
Expand All @@ -457,14 +457,14 @@ func main() {

partialTiles := prometheus.NewCounter(
prometheus.CounterOpts{
Name: "partial_tiles",
Name: "ctile_partial_tiles",
Help: "number of requests not cached due to partial tile returned from CT log",
})
promRegistry.MustRegister(partialTiles)

singleFlightShared := prometheus.NewCounter(
prometheus.CounterOpts{
Name: "single_flight_shared",
Name: "ctile_single_flight_shared",
Help: "how many inbound requests were coalesced into a single set of backend requests",
})
promRegistry.MustRegister(singleFlightShared)
Expand Down

0 comments on commit 7d632de

Please sign in to comment.