forked from MTSR/mapserver
20 lines
328 B
Go
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)
|
||
|
}
|