...

Text file src/edge-infra.dev/config/pallets/f8n/dev-infra/policy-bot/base/service-monitor.yaml

Documentation: edge-infra.dev/config/pallets/f8n/dev-infra/policy-bot/base

     1apiVersion: monitoring.coreos.com/v1
     2kind: ServiceMonitor
     3metadata:
     4  name: metrics
     5  annotations:
     6    monitoring.edge.ncr.com/allowed-metrics: |
     7      policy-bot_todo
     8spec:
     9  selector:
    10    matchLabels:
    11      platform.edge.ncr.com/component: policy-bot
    12  endpoints:
    13  - port: metrics
    14---
    15apiVersion: v1
    16kind: Service
    17metadata:
    18  name: policy-bot-metrics
    19spec:
    20  selector:
    21    platform.edge.ncr.com/component: policy-bot
    22  ports:
    23  - name: metrics
    24    port: 8081

View as plain text