...

Text file src/edge-infra.dev/config/pallets/edge/chariot2/base/monitoring/pod-monitor.yaml

Documentation: edge-infra.dev/config/pallets/edge/chariot2/base/monitoring

     1apiVersion: monitoring.coreos.com/v1
     2kind: PodMonitor
     3metadata:
     4  name: chariot2-pod-monitor
     5  annotations:
     6    monitoring.edge.ncr.com/allowed-metrics: |
     7      chariot2_deadline_exceeded_total
     8      chariot2_errors_total
     9      chariot2_google_api_errors_total
    10      chariot2_requests_total
    11      chariot2_storage_operations_total
    12spec:
    13  selector:
    14    matchLabels:
    15      app.kubernetes.io/name: chariot2
    16  jobLabel: app.kubernetes.io/name
    17  podMetricsEndpoints:
    18  - port: metrics
    19    interval: 60s
    20    path: /metrics

View as plain text