diff options
| author | Paul Buetow <paul@buetow.org> | 2026-01-15 19:32:46 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-01-15 19:32:46 +0200 |
| commit | 03eb96f968a6d2cecb2bdf1d23accf51a270188e (patch) | |
| tree | ec5fea29a139ad6211523f69c12cff1414268497 /f3s/prometheus/additional-scrape-configs.yaml | |
| parent | cf2f8a9c77adde891a85c6e4ab405ede95e6ec97 (diff) | |
Update monitoring and gogios configuration
- Add node resources multi-select dashboard for Prometheus
- Update gogios cron schedule and add HTML status file output
- Update Prometheus scrape configs
- Add gogios documentation
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Diffstat (limited to 'f3s/prometheus/additional-scrape-configs.yaml')
| -rw-r--r-- | f3s/prometheus/additional-scrape-configs.yaml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/f3s/prometheus/additional-scrape-configs.yaml b/f3s/prometheus/additional-scrape-configs.yaml index be118df..21cbf1f 100644 --- a/f3s/prometheus/additional-scrape-configs.yaml +++ b/f3s/prometheus/additional-scrape-configs.yaml @@ -18,4 +18,34 @@ - targets: - 'pushgateway.monitoring.svc.cluster.local:9091' +# Drop radicale service from being scraped (does not expose Prometheus metrics) +- job_name: 'radicale-drop' + static_configs: + - targets: + - 'radicale-service.services.svc.cluster.local:80' + relabel_configs: + - source_labels: [__address__] + action: drop + +# Kubernetes service discovery with radicale dropped +- job_name: 'kubernetes-services-no-radicale' + kubernetes_sd_configs: + - role: service + namespaces: + names: + - services + relabel_configs: + # Drop radicale service + - source_labels: [__meta_kubernetes_service_name] + regex: radicale-service + action: drop + # Keep only metrics ports + - source_labels: [__meta_kubernetes_service_port_name] + regex: metrics|prometheus + action: keep + - source_labels: [__meta_kubernetes_service_name] + target_label: job + - source_labels: [__meta_kubernetes_namespace] + target_label: namespace + |
