diff --git a/blockchain_integration/pi_network/Infrastructure/kubernetes/service-monitor.yaml b/blockchain_integration/pi_network/Infrastructure/kubernetes/service-monitor.yaml new file mode 100644 index 000000000..613b1bd3d --- /dev/null +++ b/blockchain_integration/pi_network/Infrastructure/kubernetes/service-monitor.yaml @@ -0,0 +1,11 @@ +apiVersion: monitoring.coreos.com/v1 +kind: ServiceMonitor +metadata: + name: pi-network-monitor +spec: + selector: + matchLabels: + app: pi-network + endpoints: + - port: 8080 + interval: 30s