Andrey Smirnov 7174ec1042 feat: implement new discovery service
This includes new in-memory core, new gRPC API, tests, etc.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2021-09-23 15:52:42 +03:00

19 lines
526 B
Go

// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
package server
import (
prom "github.com/prometheus/client_golang/prometheus"
)
var metricVersionGauge = prom.NewGaugeVec(prom.GaugeOpts{
Name: "discovery_hello_requests",
Help: "Number of hello requests split by client version.",
}, []string{"client_version"})
func init() {
prom.MustRegister(metricVersionGauge)
}