-
Notifications
You must be signed in to change notification settings - Fork 21
/
vmscrape.yaml
39 lines (39 loc) · 920 Bytes
/
vmscrape.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Victoria Metrics scraper for autoscaler-agent and autoscale-scheduler
apiVersion: operator.victoriametrics.com/v1beta1
kind: VMPodScrape
metadata:
name: autoscaling-components
namespace: monitoring
spec:
podMetricsEndpoints:
- port: metrics
path: /metrics
interval: 60s
scrapeTimeout: 10s
selector:
matchExpressions:
- key: name
operator: In
values: [autoscaler-agent, autoscale-scheduler]
namespaceSelector:
matchNames:
- kube-system
---
# Victoria Metrics scraper for NeonVM Controller
apiVersion: operator.victoriametrics.com/v1beta1
kind: VMPodScrape
metadata:
name: neonvm-controller
namespace: monitoring
spec:
podMetricsEndpoints:
- port: metrics
path: /metrics
interval: 60s
scrapeTimeout: 10s
selector:
matchLabels:
control-plane: controller
namespaceSelector:
matchNames:
- neonvm-system