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

65 lines
1.3 KiB
YAML
Raw Normal View History

2021-11-28 10:16:31 +00:00
podSecurityPolicy:
enabled: true
kubeStateMetrics:
2022-03-05 15:20:00 +00:00
enabled: true
2021-11-28 10:16:31 +00:00
nodeExporter:
enabled: true
2022-01-08 16:35:06 +00:00
image:
repository: quay.io/prometheus/node-exporter
tag: v1.5.0
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.41.0
strategy:
type: Recreate
2021-11-28 10:16:31 +00:00
persistentVolume:
enabled: true
2022-03-05 15:20:00 +00:00
sidecarContainers:
smartctl:
name: smartctl-exporter
image: matusnovak/prometheus-smartctl:latest
securityContext:
runAsNonRoot: false
privileged: true
ports:
- name: metrics
containerPort: 9902
2021-11-28 10:16:31 +00:00
pushgateway:
enabled: true
2022-03-05 15:20:00 +00:00
extraScrapeConfigs: |
2022-03-01 17:06:34 +00:00
- job_name: 'openwrt'
scrape_interval: 10s
static_configs:
2021-11-28 10:16:31 +00:00
- targets: ['192.168.1.1:9100']
2022-03-05 15:20:00 +00:00
- job_name: 'smartctl'
scrape_interval: 60s
static_configs:
- targets: ['127.0.0.1:9902']
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']