apiVersion: monitoring.coreos.com/v1 kind: ServiceMonitor metadata: name: edge-backend-monitoring labels: app: edge-backend platform.edge.ncr.com/component: 'edge-backend' annotations: monitoring.edge.ncr.com/allowed-metrics: | graphql_request_total graphql_query_total graphql_slow_request_total graphql_query_duration_bucket graphql_query_duration_count graphql_query_duration_sum gin_request_total gin_request_uv gin_uri_request_total gin_request_body_total gin_response_body_total gin_request_duration_bucket gin_request_duration_count gin_request_duration_sum gin_slow_request_total edge_sql_errors_info spec: selector: matchLabels: app: ee-bff-golang endpoints: - port: http path: /metrics scheme: http