oracle/config/prometheus/db_monitor.yaml (16 lines of code) (raw):

apiVersion: monitoring.coreos.com/v1 kind: ServiceMonitor metadata: name: db-monitor namespace: monitoring spec: selector: matchLabels: app: agent-svc namespaceSelector: matchNames: - db endpoints: - port: oracle-monitoring interval: 10s path: /metrics