Skip to content

Commit

Permalink
Create prometheus.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
KOSASIH authored Jul 29, 2024
1 parent e18284f commit 4387b62
Showing 1 changed file with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 4387b62

Please sign in to comment.