apiVersion: monitoring.coreos.com/v1 kind: PodMonitor metadata: name: device-monitoring namespace: device-system labels: platform.edge.ncr.com/component: device-agent annotations: monitoring.edge.ncr.com/allowed-metrics: | edge_device_agent_reconcile_duration_seconds_sum edge_device_agent_reconcile_duration_seconds_count edge_device_agent_reconcile_duration_seconds_bucket node_disk_size_bytes spec: selector: matchLabels: platform.edge.ncr.com/component: device-agent podMetricsEndpoints: - port: metrics interval: 60s path: /metrics