blob: bfa96783d583c3b1ace06776f8696cec297c9e70 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
package main
import (
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/client_golang/prometheus/promauto"
)
var hitsPerCountry = promauto.NewCounterVec(prometheus.CounterOpts{
Name: "menshen_hits",
Help: "Number of hits in the geolocation service",
},
[]string{"country"},
)
|