...

Text file src/edge-infra.dev/config/pallets/f8n/dev-infra/argo/workflows/service-monitor.yaml

Documentation: edge-infra.dev/config/pallets/f8n/dev-infra/argo/workflows

     1apiVersion: monitoring.coreos.com/v1
     2kind: ServiceMonitor
     3metadata:
     4  name: workflow-controller
     5  namespace: argo
     6  labels:
     7    app: workflow-controller
     8  annotations:
     9    monitoring.edge.ncr.com/allowed-metrics: |
    10      argo_pod_missing
    11      argo_workflows_count
    12      argo_workflows_error_count
    13      argo_workflows_k8s_request_total
    14      argo_workflows_operation_duration_seconds
    15      argo_workflows_pods_count
    16      argo_workflows_queue_adds_count
    17      argo_workflows_queue_depth_count
    18      argo_workflows_queue_latency
    19      argo_workflows_workers_busy
    20      argo_workflows_workflow_condition
    21      argo_workflows_workflows_processed_count
    22spec:
    23  selector:
    24    matchLabels:
    25      app: workflow-controller
    26  endpoints:
    27  - port: metrics
    28---
    29apiVersion: v1
    30kind: Service
    31metadata:
    32  name: workflow-controller
    33  namespace: argo
    34  labels:
    35    app: workflow-controller
    36spec:
    37  selector:
    38    app: workflow-controller
    39  ports:
    40  - name: metrics
    41    protocol: TCP
    42    port: 9090
    43    targetPort: 9090

View as plain text