471f7d9c62
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
22 lines
720 B
Go
22 lines
720 B
Go
package ak
|
|
|
|
import (
|
|
"github.com/prometheus/client_golang/prometheus"
|
|
"github.com/prometheus/client_golang/prometheus/promauto"
|
|
)
|
|
|
|
var (
|
|
OutpostInfo = promauto.NewGaugeVec(prometheus.GaugeOpts{
|
|
Name: "authentik_outpost_info",
|
|
Help: "Outpost info",
|
|
}, []string{"outpost_name", "outpost_type", "uuid", "version", "build"})
|
|
LastUpdate = promauto.NewGaugeVec(prometheus.GaugeOpts{
|
|
Name: "authentik_outpost_last_update",
|
|
Help: "Time of last update",
|
|
}, []string{"outpost_name", "outpost_type", "uuid", "version", "build"})
|
|
ConnectionStatus = promauto.NewGaugeVec(prometheus.GaugeOpts{
|
|
Name: "authentik_outpost_connection",
|
|
Help: "Connection status",
|
|
}, []string{"outpost_name", "outpost_type", "uuid"})
|
|
)
|