Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ControlChannelDuration = promauto.NewHistogramVec( prometheus.HistogramOpts{ Name: "ndt5_control_channel_duration", Help: "How long do tests last.", Buckets: []float64{ .1, .15, .25, .4, .6, 1, 1.5, 2.5, 4, 6, 10, 15, 25, 40, 60, 100, 150}, }, []string{"protocol"}, ) ControlPanicCount = promauto.NewCounterVec( prometheus.CounterOpts{ Name: "ndt5_control_panic_total", Help: "Number of recovered panics in the control channel.", }, []string{"protocol", "error"}, ) ControlCount = promauto.NewCounterVec( prometheus.CounterOpts{ Name: "ndt5_control_total", Help: "Number of control channel requests that results for each protocol and test type.", }, []string{"protocol", "result"}, ) MeasurementServerStart = promauto.NewCounterVec( prometheus.CounterOpts{ Name: "ndt5_measurementserver_start_total", Help: "The number of times a single-serving server was started.", }, []string{"protocol"}, ) MeasurementServerAccept = promauto.NewCounterVec( prometheus.CounterOpts{ Name: "ndt5_measurementserver_accept_total", Help: "The number of times a single-serving server received a successful client connections.", }, []string{"protocol", "direction"}, ) MeasurementServerStop = promauto.NewCounterVec( prometheus.CounterOpts{ Name: "ndt5_measurementserver_stop_total", Help: "The number of times a single-serving server was stopped.", }, []string{"protocol"}, ) SniffedReverseProxyCount = promauto.NewCounter( prometheus.CounterOpts{ Name: "ndt5_sniffed_ws_total", Help: "The number of times we sniffed-then-proxied a websocket connection on the plain ndt5 channel.", }, ) ClientRequestedTestSuites = promauto.NewCounterVec( prometheus.CounterOpts{ Name: "ndt5_client_requested_suites_total", Help: "The number of client request test suites (the combination of all test types as an integer 0-255).", }, []string{"protocol", "suite"}, ) ClientRequestedTests = promauto.NewCounterVec( prometheus.CounterOpts{ Name: "ndt5_client_test_requested_total", Help: "The number of client requests for each ndt5 test type.", }, []string{"protocol", "direction"}, ) ClientForwardingTimeouts = promauto.NewCounter( prometheus.CounterOpts{ Name: "ndt5_forwarding_timeouts_total", Help: "The number of times forwarded client connections have timed out on the server instead of being closed by the client", }, ) ClientTestResults = promauto.NewCounterVec( prometheus.CounterOpts{ Name: "ndt5_client_test_results_total", Help: "Number of client-connections for NDT tests run by this server.", }, []string{"protocol", "direction", "result"}, ) ClientTestErrors = promauto.NewCounterVec( prometheus.CounterOpts{ Name: "ndt5_client_test_errors_total", Help: "Number of test errors of each type for each test.", }, []string{"protocol", "direction", "error"}, ) SubmittedMetaValues = promauto.NewHistogram( prometheus.HistogramOpts{ Name: "ndt5_submitted_meta_values", Help: "The number of meta values submitted by clients.", Buckets: []float64{ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20}, }, ) )
Metrics for exporting to prometheus to aid in server monitoring.
TODO: Decide what monitoring we want and transition to that.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.