Versions in this module Expand all Collapse all v1 v1.1.1 Aug 18, 2020 Changes in this version + const DefaultMinimumRequiredRequests + const DefaultRequestFailureThreshold + var AIRLatency = prometheus.NewSummary(prometheus.SummaryOpts{ ... }) + var AIRRequests = prometheus.NewCounter(prometheus.CounterOpts{ ... }) + var AIRSendFailures = prometheus.NewCounter(prometheus.CounterOpts{ ... }) + var S6aFailuresSinceLastSuccess = prometheus.NewGauge(prometheus.GaugeOpts{ ... }) + var S6aResultCodes = prometheus.NewCounterVec(prometheus.CounterOpts{ ... }, []string{ ... }) + var S6aSuccessTimestamp = prometheus.NewGauge(prometheus.GaugeOpts{ ... }) + var S6aTimeouts = prometheus.NewCounter(prometheus.CounterOpts{ ... }) + var S6aUnparseableMsg = prometheus.NewCounter(prometheus.CounterOpts{ ... }) + var ULRLatency = prometheus.NewSummary(prometheus.SummaryOpts{ ... }) + var ULRRequests = prometheus.NewCounter(prometheus.CounterOpts{ ... }) + var ULRSendFailures = prometheus.NewCounter(prometheus.CounterOpts{ ... }) + func UpdateS6aRecentRequestMetrics(err error) + type S6aHealthMetrics struct + AirSendFailures int64 + AirTotal int64 + Timeouts int64 + UlrSendFailures int64 + UlrTotal int64 + UnparseableMsg int64 + func GetCurrentHealthMetrics() (*S6aHealthMetrics, error) + func (prevMetrics *S6aHealthMetrics) GetDelta(currentMetrics *S6aHealthMetrics) (*S6aHealthMetrics, error) + type S6aHealthTracker struct + Metrics *S6aHealthMetrics + MinimumRequestThreshold uint32 + RequestFailureThreshold float32 + func NewS6aHealthTracker() *S6aHealthTracker Other modules containing this package github.com/go-magma/magma