Compare commits

...

7 Commits

Author SHA1 Message Date
23adf5a6be remove pve exporter 2025-06-07 22:03:08 +02:00
790d2152d3 update prometheus jobs 2025-06-07 20:58:49 +02:00
3f156984d9 fix prometheus 2025-06-07 20:37:44 +02:00
d834e58879 fix secret 2025-06-07 20:34:56 +02:00
3a4a28598a fix file name 2025-06-07 20:33:14 +02:00
cc00e8de8b update prometheus 2025-06-07 20:26:32 +02:00
6404f7772b update prometheus for proxmox 2025-06-07 20:24:46 +02:00
3 changed files with 20 additions and 0 deletions

View File

@@ -13,9 +13,14 @@ local kp = (import 'kube-prometheus/main.libsonnet') + {
prometheus+:: { prometheus+:: {
prometheus+: { prometheus+: {
spec+: { spec+: {
serviceMonitorSelector: {},
externalUrl: 'https://metrics.prod.panic.haus', externalUrl: 'https://metrics.prod.panic.haus',
retention: '30d', retention: '30d',
retentionSize: '16GB', retentionSize: '16GB',
additionalScrapeConfigs: {
name: 'prometheus-additional-scrape-configs',
key: 'additional-scrape-configs.yaml',
},
storage: { storage: {
volumeClaimTemplate: { volumeClaimTemplate: {
spec: { spec: {

View File

@@ -10,6 +10,9 @@ metadata:
name: k8s name: k8s
namespace: monitoring namespace: monitoring
spec: spec:
additionalScrapeConfigs:
key: additional-scrape-configs.yaml
name: prometheus-additional-scrape-configs
alerting: alerting:
alertmanagers: alertmanagers:
- apiVersion: v2 - apiVersion: v2

View File

@@ -0,0 +1,12 @@
apiVersion: v1
kind: Secret
metadata:
name: prometheus-additional-scrape-configs
namespace: monitoring
stringData:
additional-scrape-configs.yaml: |
- job_name: 'proxmox-holly-node-exporter'
scheme: https
metrics_path: /metrics
static_configs:
- targets: ['node-exporter.holly.panic.haus']