Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
DefaultMetrics = initMetrics()
)
Functions ¶
func Update ¶
func Update(snapshot *models.RouteSnapshot)
Types ¶
type Metrics ¶
type Metrics struct { Handler http.Handler ObservedValues ObservedValues }
type ObservedValues ¶
type ObservedValues struct { LastUpdatedAt prometheus.Gauge NumberOfRoutes prometheus.Gauge }
Click to show internal directories.
Click to hide internal directories.