Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( GRPCRequestCount = promauto.NewCounterVec( prometheus.CounterOpts{ Name: "valuations_api_grpc_request_count", Help: "The total number of requests served by the GRPC Server", }, []string{"method", "status"}, ) GRPCResponseTime = promauto.NewHistogramVec( prometheus.HistogramOpts{ Name: "valuations_api_grpc_response_time", Help: "The response time distribution of the GRPC Server", Buckets: []float64{0.1, 0.25, 0.5, 1, 2.5, 5, 10}, }, []string{"method", "status"}, ) HTTPRequestCount = promauto.NewCounterVec( prometheus.CounterOpts{ Name: "valuations_api_http_request_count", Help: "The total number of requests served by the Http Server", }, []string{"method", "path", "status"}, ) HTTPResponseTime = promauto.NewHistogramVec( prometheus.HistogramOpts{ Name: "valuations_api_http_response_time", Help: "The response time distribution of the Http Server", Buckets: []float64{0.1, 0.25, 0.5, 1, 2.5, 5, 10}, }, []string{"method", "path", "status"}, ) )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.