Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ActiveTests = promauto.NewGaugeVec( prometheus.GaugeOpts{ Name: "ndt_active_tests", Help: "A gauge of requests currently being served by the NDT server.", }, []string{"type"}) TestRate = promauto.NewHistogramVec( prometheus.HistogramOpts{ Name: "ndt_test_rate_mbps", Help: "A histogram of request rates.", Buckets: []float64{ .1, .15, .25, .4, .6, 1, 1.5, 2.5, 4, 6, 10, 15, 25, 40, 60, 100, 150, 250, 400, 600, 1000}, }, []string{"direction"}, ) TestCount = promauto.NewCounterVec( prometheus.CounterOpts{ Name: "ndt_test_total", Help: "Number of NDT tests run by this server.", }, []string{"direction", "code"}, ) ErrorCount = promauto.NewCounterVec( prometheus.CounterOpts{ Name: "ndt_test_errors_total", Help: "Number of test errors of each type for each test.", }, []string{"test", "error"}, ) )
Metrics for general use, in both the legacy server and in NDT7.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.