Documentation ¶
Overview ¶
Package metrics implements the network latency metrics collection and reporting.
Index ¶
- Constants
- func InitAveragers(db *sql.DB, tableName string)
- func ReadEdgeInMilliseconds(ctx context.Context, since time.Time) (components_metrics_state.Metrics, error)
- func Register(reg *prometheus.Registry, db *sql.DB, tableName string) error
- func SetEdgeInMilliseconds(ctx context.Context, providerRegion string, latencyInMilliseconds float64, ...) error
- func SetLastUpdateUnixSeconds(unixSeconds float64)
Constants ¶
View Source
const SubSystem = "network_latency"
Variables ¶
This section is empty.
Functions ¶
func InitAveragers ¶
func ReadEdgeInMilliseconds ¶
func SetEdgeInMilliseconds ¶
func SetLastUpdateUnixSeconds ¶
func SetLastUpdateUnixSeconds(unixSeconds float64)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.