apiVersion: monitoring.coreos.com/v1 kind: ServiceMonitor metadata: name: authserver-monitoring namespace: authserver annotations: monitoring.edge.ncr.com/allowed-metrics: | auth_request_total auth_query_total auth_slow_request_total auth_query_duration auth_query_duration_count auth_query_duration_sum auth_query_duration_bucket spec: selector: matchLabels: app: authserver endpoints: - port: http path: /metrics scheme: http