Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // HTTPRequestsTotal records the total number of HTTP requests, partitioned by hostname. HTTPRequestsTotal = prometheus.NewCounterVec( prometheus.CounterOpts{ Namespace: namespace, Name: "http_requests_total", Help: "Total number of HTTP requests, partitioned by hostname.", }, []string{"host"}, ) )
Additional metrics to expose, prometheus.DefaultGatherer includes runtime metrics by default.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.