1
0
forked from MTSR/mapserver
mapserver/server/tilerendererjob/metrics.go
2019-02-08 14:25:07 +01:00

20 lines
328 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)
}