...
1apiVersion: monitoring.coreos.com/v1
2kind: ServiceMonitor
3metadata:
4 name: lumperctl
5 labels:
6 platform.edge.ncr.com/component: lumperctl
7 cluster_hash: ${cluster_hash}
8 cluster_uuid: ${cluster_uuid}
9 namespace: warehouse-system
10 annotations:
11 monitoring.edge.ncr.com/allowed-metrics: |
12 edge_lpctl_reconcile_condition_status
13 edge_lpctl_reconcile_suspend_status
14 edge_lpctl_reconcile_duration_seconds_sum
15 edge_lpctl_reconcile_duration_seconds_count
16 edge_lpctl_reconcile_duration_seconds_bucket
17 edge_lpctl_cache_get_count
18 edge_lpctl_cache_len_count
19 workqueue_depth
20 workqueue_adds_total
21 workqueue_queue_duration_seconds
22 workqueue_work_duration_seconds
23 workqueue_unfinished_work_seconds
24 workqueue_longest_running_processor_seconds
25 workqueue_retries_total
26 rest_client_requests_total
27 controller_runtime_reconcile_total
28 controller_runtime_reconcile_errors_total
29 controller_runtime_reconcile_time_seconds
30 controller_runtime_max_concurrent_reconciles
31 controller_runtime_active_workers
32 controller_runtime_webhook_latency_seconds
33 controller_runtime_webhook_requests_total
34 controller_runtime_webhook_requests_in_flight
35 pallet.edge.ncr.com/created: "2023-02-16T21:26:39Z"
36 pallet.edge.ncr.com/name: lumper-controller
37 pallet.edge.ncr.com/revision: 696897a3df910b6e84a88c9336907a17b18159c1
38 pallet.edge.ncr.com/source: https://github.com/ncrvoyix-swt-retail/edge-infra/tree/696897a3df910b6e84a88c9336907a17b18159c1
39 pallet.edge.ncr.com/team: '@ncrvoyix-swt-retail/edge-foundation'
40 pallet.edge.ncr.com/version: 7.7.7-rc.1676582799+commit.696897a
41spec:
42 selector:
43 matchLabels:
44 platform.edge.ncr.com/component: lumperctl
45 endpoints:
46 - port: metrics
47 metricRelabelings:
48 - action: labeldrop
49 regex: "container"
50 - action: labeldrop
51 regex: "job"
52 - action: labeldrop
53 regex: "endpoint"
View as plain text