Files
QSfera/konnectd/pkg/metrics/metrics.go
T
A.Unger 506ba1aa51 Add 'konnectd/' from commit '3829df495cbcad9bb261518b4afb7d15ba53d54c'
git-subtree-dir: konnectd
git-subtree-mainline: ab1e6d4689
git-subtree-split: 3829df495c
2020-09-18 13:00:53 +02:00

33 lines
685 B
Go

package metrics
var (
// Namespace defines the namespace for the defines metrics.
Namespace = "ocis"
// Subsystem defines the subsystem for the defines metrics.
Subsystem = "konnectd"
)
// Metrics defines the available metrics of this service.
type Metrics struct {
// Counter *prometheus.CounterVec
}
// New initializes the available metrics.
func New() *Metrics {
m := &Metrics{
// Counter: prometheus.NewCounterVec(prometheus.CounterOpts{
// Namespace: Namespace,
// Subsystem: Subsystem,
// Name: "greet_total",
// Help: "How many greeting requests processed",
// }, []string{}),
}
// prometheus.Register(
// m.Counter,
// )
return m
}