From 4387b62472ad8d244cdd6a725b1acec593b52e45 Mon Sep 17 00:00:00 2001 From: KOSASIH Date: Mon, 29 Jul 2024 20:21:28 +0700 Subject: [PATCH] Create prometheus.yaml --- .../Infrastructure/kubernetes/prometheus.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 blockchain_integration/pi_network/Infrastructure/kubernetes/prometheus.yaml diff --git a/blockchain_integration/pi_network/Infrastructure/kubernetes/prometheus.yaml b/blockchain_integration/pi_network/Infrastructure/kubernetes/prometheus.yaml new file mode 100644 index 000000000..30994c872 --- /dev/null +++ b/blockchain_integration/pi_network/Infrastructure/kubernetes/prometheus.yaml @@ -0,0 +1,16 @@ +apiVersion: monitoring.coreos.com/v1 +kind: Prometheus +metadata: + name: pi-network-prometheus +spec: + replicas: 1 + config: + global: + scrape_interval: 30s + rule_files: + - /etc/prometheus/rules + scrape_configs: + - job_name: pi-network + static_configs: + - targets: + - pi-network:8080