mirror of
https://github.com/jsiebens/ionscale.git
synced 2026-03-31 15:07:49 +01:00
17 lines
401 B
Go
17 lines
401 B
Go
package handlers
|
|
|
|
import (
|
|
"github.com/prometheus/client_golang/prometheus"
|
|
"github.com/prometheus/client_golang/prometheus/promauto"
|
|
)
|
|
|
|
const prometheusNamespace = "ionscale"
|
|
|
|
var (
|
|
connectedDevices = promauto.NewGaugeVec(prometheus.GaugeOpts{
|
|
Namespace: prometheusNamespace,
|
|
Name: "connected_machines_total",
|
|
Help: "Total amount of connected machines",
|
|
}, []string{"tailnet"})
|
|
)
|