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

@@ -1,8 +1,9 @@
package coremain
const (
coreName = "CoreDNS"
coreVersion = "1.0.4"
coreName = "CoreDNS"
// CoreVersion is the current version of CoreDNS.
CoreVersion = "1.0.4"
serverType = "dns"
)