hive-apps/projects/grafana/values/prometheus.yaml

55 lines
1 KiB
YAML
Raw Normal View History

2021-11-28 10:16:31 +00:00
podSecurityPolicy:
enabled: true
kubeStateMetrics:
enabled: false
nodeExporter:
enabled: true
2022-01-08 16:35:06 +00:00
image:
repository: quay.io/prometheus/node-exporter
tag: v1.3.1
2022-01-08 16:35:06 +00:00
2021-11-28 10:16:31 +00:00
hostNetwork: true
hostPID: true
hostRootfs: true
extraHostPathMounts:
- name: textfile-dir
mountPath: /srv/txt_collector
hostPath: /var/lib/node-exporter
readOnly: true
mountPropagation: HostToContainer
server:
enabled: true
2022-01-08 16:35:06 +00:00
image:
repository: quay.io/prometheus/prometheus
tag: v2.33.4
strategy:
type: Recreate
2021-11-28 10:16:31 +00:00
persistentVolume:
enabled: true
pushgateway:
enabled: true
2022-03-01 17:06:34 +00:00
extraScrapeConfigs:
- job_name: 'openwrt'
scrape_interval: 10s
static_configs:
2021-11-28 10:16:31 +00:00
- targets: ['192.168.1.1:9100']
2022-01-08 16:35:06 +00:00
# - job_name: 'borg'
# scrape_interval: 120s
# static_configs:
# - targets: ['192.168.1.111:9942']
2021-11-28 10:16:31 +00:00
# - job_name: 'octoprint'
# scrape_interval: 5s
# metrics_path: '/plugin/prometheus_exporter/metrics'
# params:
# apikey: ['__OCTOPRINT_APIKEY__']
# static_configs:
# - targets: ['octoprint:80']