mapserver/server/tilerendererjob/metrics.go

19 lines
320 B
Go
Raw Normal View History

2019-02-08 16:25:07 +03:00
package tilerendererjob
import (
"github.com/prometheus/client_golang/prometheus"
)
var (
totalRenderedMapblocks = prometheus.NewCounter(
prometheus.CounterOpts{
Name: "total_rendered_mapblocks",
Help: "Overall rendered mapblocks",
},
)
)
2019-02-20 15:25:04 +03:00
func init() {
2019-02-08 18:02:24 +03:00
prometheus.MustRegister(totalRenderedMapblocks)
2019-02-08 16:25:07 +03:00
}