mapserver/server/tilerendererjob/metrics.go
NatureFreshMilk 582c7b06b8 go fmt
2019-02-08 16:02:24 +01:00

19 lines
327 B
Go

package tilerendererjob
import (
"github.com/prometheus/client_golang/prometheus"
)
var (
totalRenderedMapblocks = prometheus.NewCounter(
prometheus.CounterOpts{
Name: "total_rendered_mapblocks",
Help: "Overall rendered mapblocks",
},
)
)
func initMetrics() {
prometheus.MustRegister(totalRenderedMapblocks)
}