-
API status monior
-
Godwoken BlockChain Height monitor
-
Build container images
-
Edit Kubernetes Deployment File
-
Create Deploy, Service Source
-
Apploy Deploy
-
Access Metrics
curl http://gw-readonly-monitor:5000/metrics
The monitoring is implemented using Prometheus, and the job configuration is as follows:
# godwoken
- job_name: 'godwoken'
scrape_interval: 10s
scrape_timeout: 5s
metrics_path: "/metrics"
static_configs:
- targets:
- gw-readonly-monitor.testnet:5000
- gw-readonly-monitor.mainnet:5000
Alerting is done using Alertmanager, and standard configuration is sufficient.
Grafana dashboard is used to display the panels.