Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( CountersByEndpoint = prometheus.NewCounterVec( prometheus.CounterOpts{ Name: "counter_request_by_microservicio", Help: "Register all call to the endpoints", }, []string{ "proxyPath", "endpointPath", "ipAddr", "method", }, ) TotalRequests = prometheus.NewCounterVec( prometheus.CounterOpts{ Name: "http_requests_total", Help: "Number of get requests.", }, []string{"path", "service"}, ) )
Functions ¶
func ExposeMetricServer ¶
func ExposeMetricServer(configPort int)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.