...

Text file src/edge-infra.dev/config/pallets/sds/device-system/device-agent/podmonitor.yaml

Documentation: edge-infra.dev/config/pallets/sds/device-system/device-agent

     1apiVersion: monitoring.coreos.com/v1
     2kind: PodMonitor
     3metadata:
     4  name: device-monitoring
     5  namespace: device-system
     6  labels:
     7    platform.edge.ncr.com/component: device-agent
     8  annotations:
     9    monitoring.edge.ncr.com/allowed-metrics: |
    10      edge_device_agent_reconcile_duration_seconds_sum
    11      edge_device_agent_reconcile_duration_seconds_count
    12      edge_device_agent_reconcile_duration_seconds_bucket
    13      node_disk_size_bytes
    14spec:
    15  selector:
    16    matchLabels:
    17      platform.edge.ncr.com/component: device-agent
    18  podMetricsEndpoints:
    19  - port: metrics
    20    interval: 60s
    21    path: /metrics

View as plain text