summaryrefslogtreecommitdiff
path: root/f3s/goprecords
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-04-16 10:27:37 +0300
committerPaul Buetow <paul@buetow.org>2026-04-16 10:27:37 +0300
commit6c27a0cd1d74b3463e51fd15753d792b55d1a733 (patch)
treed2d5697d3d3e3996c175a238ef902d9e1fb5b35d /f3s/goprecords
parent426dfec90546f8dd9f5965d9df5567f625246515 (diff)
goprecords: add Prometheus scraping and stale-host alert rule
- service.yaml: add 'metrics' port (8080) so kubernetes SD auto-discovers the /metrics endpoint alongside the existing http port (80) - prometheus/manifests/goprecords-alerts.yaml: GoprecordsHostNotReporting fires (warning) when a non-excluded host last reported >5 months ago Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'f3s/goprecords')
-rw-r--r--f3s/goprecords/helm-chart/templates/service.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/f3s/goprecords/helm-chart/templates/service.yaml b/f3s/goprecords/helm-chart/templates/service.yaml
index 9266d46..4459775 100644
--- a/f3s/goprecords/helm-chart/templates/service.yaml
+++ b/f3s/goprecords/helm-chart/templates/service.yaml
@@ -11,5 +11,9 @@ spec:
port: 80
protocol: TCP
targetPort: 8080
+ - name: metrics
+ port: 8080
+ protocol: TCP
+ targetPort: 8080
selector:
app: goprecords