Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DbCall = prometheus.NewCounterVec( prometheus.CounterOpts{ Name: "db_calls_total", Help: "Number of database calls", }, []string{"type_name", "operation_name", "status"}, )
View Source
var HttpDuration = prometheus.NewHistogramVec( prometheus.HistogramOpts{ Name: "http_response_time", Help: "Duration of HTTP requests", Buckets: []float64{1, 2, 5, 10, 50, 100, 200, 500, 1000, 2000, 5000, 10000}, }, []string{"path", "method", "status_code"})
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.