add prometheus

This commit is contained in:
2025-06-04 21:12:05 +02:00
parent 5e720985d2
commit 619961c005
5 changed files with 60 additions and 1 deletions

14
monitoring/configmap.yaml Normal file
View File

@@ -0,0 +1,14 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: prometheus-server-conf
namespace: monitoring
data:
prometheus.yml: |
global:
scrape_interval: 15s
evaulation_interval: 15s
scrape_configs:
- job_name: 'prometheus'
static_configs:
- targets: ['localhost:9090']