mirror of
https://git.vectorsigma.ru/public/atlantis.git
synced 2026-08-01 22:28:39 +00:00
* Add builder metrics initialization * Add pull_closed metrics initialization * Add builder metrics initialization * use InitCounter from metrics package to initialize prometheus counters
9 lines
141 B
Go
9 lines
141 B
Go
package metrics
|
|
|
|
import "github.com/uber-go/tally"
|
|
|
|
func InitCounter(scope tally.Scope, name string) {
|
|
s := scope.Counter(name)
|
|
s.Inc(0)
|
|
}
|