Skip to content

Commit b1fbace

Browse files
authored
Merge pull request #69 from weaveworks/prometheus-memcache
Consistent namespace for memcache metrics
2 parents eafc3f6 + 84338bb commit b1fbace

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

chunk/chunk_cache.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,19 @@ import (
2424

2525
var (
2626
memcacheRequests = prometheus.NewCounter(prometheus.CounterOpts{
27-
Namespace: "prometheus",
27+
Namespace: "prism",
2828
Name: "memcache_requests_total",
2929
Help: "Total count of chunks requested from memcache.",
3030
})
3131

3232
memcacheHits = prometheus.NewCounter(prometheus.CounterOpts{
33-
Namespace: "prometheus",
33+
Namespace: "prism",
3434
Name: "memcache_hits_total",
3535
Help: "Total count of chunks found in memcache.",
3636
})
3737

3838
memcacheRequestDuration = prometheus.NewHistogramVec(prometheus.HistogramOpts{
39-
Namespace: "prometheus",
39+
Namespace: "prism",
4040
Name: "memcache_request_duration_seconds",
4141
Help: "Total time spent in seconds doing memcache requests.",
4242
Buckets: []float64{.001, .0025, .005, .01, .025, .05},

0 commit comments

Comments
 (0)