Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( MetricsGraphqlRequestCount = prometheus.NewCounterVec( prometheus.CounterOpts{ Name: "customer_os_api_graphql_requests_total", Help: "Total number of GraphQL requests", }, []string{"name", "status"}, ) MetricsGraphqlRequestDuration = prometheus.NewHistogramVec( prometheus.HistogramOpts{ Name: "customer_os_api_graphql_request_duration_seconds", Help: "GraphQL request duration in seconds", Buckets: prometheus.DefBuckets, }, []string{"name"}, ) MetricsGraphqlRequestErrorCount = prometheus.NewCounterVec( prometheus.CounterOpts{ Name: "customer_os_api_graphql_request_errors_total", Help: "Total number of GraphQL request errors", }, []string{"name"}, ) )
Prometheus metrics
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.