blob: 2c581ba86cba4dd1e1c0fe4cf4cc50f9c0a8979f (
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: "getmyip_hits",
Help: "Number of hits in the geolocation service",
},
[]string{"country"},
)
|