Add coredns_build_info metric (#1418)

In order to track the rollout status of CoreDNS versions, add the common
build_info metric.
This commit is contained in:
Tobias Schmidt
2018-01-23 21:10:55 +01:00
committed by Miek Gieben
parent f9c03c2ead
commit b707438534
6 changed files with 25 additions and 8 deletions

View File

@@ -53,7 +53,7 @@ endif
DOCKER:=
NAME:=coredns
VERSION:=$(shell grep 'coreVersion' coremain/version.go | awk '{ print $$3 }' | tr -d '"')
VERSION:=$(shell grep 'CoreVersion' coremain/version.go | awk '{ print $$3 }' | tr -d '"')
GITHUB:=coredns
DOCKER_IMAGE_NAME:=$(DOCKER)/$(NAME)
GITCOMMIT:=$(shell git describe --dirty --always)