Documentation ¶
Index ¶
Constants ¶
View Source
const Service = "n9e-webapi"
Variables ¶
View Source
var ( RequestCounter = prometheus.NewCounterVec( prometheus.CounterOpts{ Name: "http_request_count_total", Help: "Total number of HTTP requests made.", }, labels, ) RequestDuration = prometheus.NewHistogramVec( prometheus.HistogramOpts{ Buckets: []float64{.01, .1, 1, 10}, Name: "http_request_duration_seconds", Help: "HTTP request latencies in seconds.", }, labels, ) )
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.