Documentation
Docs37. Monitoring & Alerting
37. Monitoring & Alerting
37.1 Prometheus Metrics
Expose port 9090 internally to your Prometheus scraper. Track key metrics:
kortana_p2p_peers_connectedkortana_chain_head_heightkortana_db_compaction_pending_bytes
37.2 Alert Rules
Set up PagerDuty / Slack alerts for:
- Peer Count Drop: Alert if peers
< 5for 5 minutes. - Chain Stall: Alert if
kortana_chain_head_heightdoes not increase for 10 seconds.
37.3 Health Checks
Use the included ops/healthcheck.sh script to ping the /health endpoint. If the script fails 3 times consecutively, rotate the node out of the load balancer pool.
Part IX — CLI Reference
The Kortana ecosystem provides powerful command-line interfaces for interacting with the node, managing cryptographic keys, and compiling smart contracts.