Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( SshdSessionDuration = promauto.NewHistogram( prometheus.HistogramOpts{ Namespace: namespace, Subsystem: sshdSubsystem, Name: sshdSessionDurationSecondsName, Help: "A histogram of latencies for connections to gitlab-shell sshd.", Buckets: []float64{ 5.0, 30.0, 60.0, }, }, ) SshdSessionEstablishedDuration = promauto.NewHistogram( prometheus.HistogramOpts{ Namespace: namespace, Subsystem: sshdSubsystem, Name: sshdSessionEstablishedDurationSecondsName, Help: "A histogram of latencies until session established to gitlab-shell sshd.", Buckets: []float64{ 0.5, 1.0, 5.0, }, }, ) SshdConnectionsInFlight = promauto.NewGauge( prometheus.GaugeOpts{ Namespace: namespace, Subsystem: sshdSubsystem, Name: sshdConnectionsInFlightName, Help: "A gauge of connections currently being served by gitlab-shell sshd.", }, ) SshdHitMaxSessions = promauto.NewCounter( prometheus.CounterOpts{ Namespace: namespace, Subsystem: sshdSubsystem, Name: sshdHitMaxSessionsName, Help: "The number of times the concurrent sessions limit was hit in gitlab-shell sshd.", }, ) SliSshdSessionsTotal = promauto.NewCounter( prometheus.CounterOpts{ Name: sliSshdSessionsTotalName, Help: "Number of SSH sessions that have been established", }, ) SliSshdSessionsErrorsTotal = promauto.NewCounter( prometheus.CounterOpts{ Name: sliSshdSessionsErrorsTotalName, Help: "Number of SSH sessions that have failed", }, ) GitalyConnectionsTotal = promauto.NewCounterVec( prometheus.CounterOpts{ Namespace: namespace, Subsystem: gitalySubsystem, Name: gitalyConnectionsTotalName, Help: "Number of Gitaly connections that have been established", }, []string{"status"}, ) )
Functions ¶
func NewRoundTripper ¶
func NewRoundTripper(next http.RoundTripper) promhttp.RoundTripperFunc
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.