23 lines
682 B
YAML
23 lines
682 B
YAML
|
|
apiVersion: operator.victoriametrics.com/v1beta1
|
||
|
|
kind: VMServiceScrape
|
||
|
|
metadata:
|
||
|
|
name: dragonfly
|
||
|
|
namespace: victoriametrics
|
||
|
|
labels:
|
||
|
|
observability.quorate.internal/scrape: "true"
|
||
|
|
spec:
|
||
|
|
namespaceSelector:
|
||
|
|
matchNames:
|
||
|
|
- dragonfly
|
||
|
|
selector:
|
||
|
|
matchLabels:
|
||
|
|
app.kubernetes.io/name: dragonfly
|
||
|
|
app.kubernetes.io/component: metrics
|
||
|
|
endpoints:
|
||
|
|
- port: metrics
|
||
|
|
path: /metrics
|
||
|
|
interval: 30s
|
||
|
|
scrapeTimeout: 10s
|
||
|
|
metricRelabelConfigs:
|
||
|
|
- action: labeldrop
|
||
|
|
regex: "(?i)(.*password.*|.*passwd.*|.*secret.*|.*token.*|.*auth.*|.*bearer.*|.*cookie.*|.*dsn.*|.*uri.*|.*url.*|.*cmdline.*|.*command.*|.*args.*|.*env.*)"
|