Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( PlayerStreamsRunning = promauto.NewGauge(prometheus.GaugeOpts{ Namespace: nsPlayer, Subsystem: "streams", Name: "running", Help: "Number of streams currently playing", }) PlayerBlobDownloadDurations = promauto.NewHistogram(prometheus.HistogramOpts{ Namespace: nsPlayer, Subsystem: "blob", Name: "download_seconds", Help: "Blob download durations", }) PlayerBlobDecodeDurations = promauto.NewHistogram(prometheus.HistogramOpts{ Namespace: nsPlayer, Subsystem: "blob", Name: "decode_seconds", Help: "Blob decode durations", }) PlayerSuccessesCount = promauto.NewCounter(prometheus.CounterOpts{ Namespace: nsPlayer, Name: "successes_total", Help: "Total number of successfully served blobs", }) PlayerFailuresCount = promauto.NewCounter(prometheus.CounterOpts{ Namespace: nsPlayer, Name: "failures_total", Help: "Total number of errors serving blobs", }) IAPIAuthSuccessDurations = promauto.NewHistogram(prometheus.HistogramOpts{ Namespace: nsIAPI, Subsystem: "auth", Name: "success_seconds", Help: "Time to successful authentication", }) IAPIAuthFailedDurations = promauto.NewHistogram(prometheus.HistogramOpts{ Namespace: nsIAPI, Subsystem: "auth", Name: "failed_seconds", Help: "Time to failed authentication response", }) ProxyCallDurations = promauto.NewSummaryVec( prometheus.SummaryOpts{ Namespace: nsProxy, Subsystem: "calls", Name: "successful_seconds", Help: "Method call latency distributions", Objectives: map[float64]float64{0.5: 0.05, 0.9: 0.01, 0.99: 0.001}, }, []string{"method"}, ) ProxyCallFailedDurations = promauto.NewSummaryVec( prometheus.SummaryOpts{ Namespace: nsProxy, Subsystem: "calls", Name: "failed_seconds", Help: "Failed method call latency distributions", Objectives: map[float64]float64{0.5: 0.05, 0.9: 0.01, 0.99: 0.001}, }, []string{"method"}, ) )
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.