mapserver/tilerendererjob/metrics.go
2019-06-13 08:04:32 +02:00

19 lines
320 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 init() {
prometheus.MustRegister(totalRenderedMapblocks)
}