prometheus monitoring now setup.

This commit is contained in:
Erik Brakkee 2024-08-07 22:00:41 +02:00
parent 97d34424ca
commit 4746279353
2 changed files with 18 additions and 0 deletions

View File

@ -14,6 +14,7 @@ spec:
metadata:
labels:
app: converge
prometheus-scrapable: "true"
spec:
containers:
- image: your.repo.com/converge:1.0

View File

@ -0,0 +1,17 @@
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: converge-monitoring
namespace: wamblee-org
spec:
endpoints:
- honorLabels: true
path: /metrics
targetPort: 8000
scheme: http
scrapeTimeout: 30s
selector:
matchLabels:
app: converge
targetLabels:
- app