Anya Core Monitoring Dashboards

Table of Contents

[AIR-3][AIS-3][BPC-3][RES-3]

Overview

This document provides detailed information about the monitoring dashboards available in the Anya Core monitoring stack. These dashboards are designed to provide real-time visibility into the health and performance of your Anya Core node and its components.

Dashboard Index

1. Anya Core Overview

  • Purpose: High-level view of node health and status
  • Access: http://<grafana-host>:3000/d/anya-overview
  • Refresh Rate: 15s
  • Retention: 30 days

2. Bitcoin Node Metrics

  • Purpose: Detailed Bitcoin node metrics and performance
  • Access: http://<grafana-host>:3000/d/bitcoin-node
  • Refresh Rate: 15s
  • Retention: 30 days

3. System Resources

  • Purpose: Host system resource utilization
  • Access: http://<grafana-host>:3000/d/system
  • Refresh Rate: 15s
  • Retention: 7 days

4. Network Monitoring

  • Purpose: Network I/O and connectivity
  • Access: http://<grafana-host>:3000/d/network
  • Refresh Rate: 15s
  • Retention: 7 days

5. Alert Dashboard

  • Purpose: View and manage active alerts
  • Access: http://<grafana-host>:3000/d/alerts
  • Refresh Rate: 30s
  • Retention: 90 days

Dashboard Details

Anya Core Overview

Panels

  1. Node Status
  2. Uptime
  3. Sync status
  4. Version information
  5. Network (mainnet/testnet/regtest)

  6. Performance

  7. Transactions per second
  8. Mempool size
  9. Block processing time
  10. Peer connections

  11. Resource Usage

  12. CPU/Memory/Disk usage
  13. I/O operations
  14. Network traffic

Bitcoin Node Metrics

Panels

  1. Blockchain
  2. Block height
  3. Headers
  4. Verification progress
  5. IBD status

  6. Mempool

  7. Transaction count
  8. Size in MB
  9. Fee rates
  10. Orphan transactions

  11. P2P Network

  12. Peer count
  13. Banned peers
  14. Bytes sent/received
  15. Ping time

Customizing Dashboards

Adding New Panels

  1. Log in to Grafana
  2. Navigate to the desired dashboard
  3. Click "Add Panel" > "Add new panel"
  4. Configure the panel with PromQL queries
  5. Set appropriate thresholds and alerts

Importing Dashboards

  1. Download dashboard JSON from source
  2. In Grafana, click "+" > "Import"
  3. Upload the JSON file
  4. Select the data source (Prometheus)
  5. Click "Import"

Alerting

Pre-configured Alerts

Alert Name Severity Condition Description
NodeDown Critical up == 0 Node is down
HighCPU Warning rate(node_cpu_seconds_total{mode!="idle"}[5m]) > 0.9 High CPU usage
LowDiskSpace Warning node_filesystem_avail_bytes{mountpoint="/"} / node_filesystem_size_bytes{mountpoint="/"} < 0.2 Low disk space
HighMemUsage Warning (node_memory_MemTotal_bytes - node_memory_MemAvailable_bytes) / node_memory_MemTotal_bytes > 0.9 High memory usage

Creating Custom Alerts

  1. Navigate to Alerting > Alert rules
  2. Click "New alert rule"
  3. Define the alert conditions using PromQL
  4. Set alert labels and annotations
  5. Configure notification policies

Troubleshooting

Common Issues

  1. No Data in Panels
  2. Verify Prometheus is running
  3. Check service discovery configuration
  4. Verify network connectivity between Prometheus and targets

  5. High Load on Grafana

  6. Increase dashboard refresh interval
  7. Reduce time range
  8. Use time-based retention policies

  9. Alert Notifications Not Working

  10. Verify Alertmanager configuration
  11. Check SMTP settings
  12. Review notification policies

Best Practices

  1. Dashboard Design
  2. Group related metrics
  3. Use consistent color schemes
  4. Add descriptive titles and units
  5. Set appropriate Y-axis ranges

  6. Alerting

  7. Set meaningful alert thresholds
  8. Use alert grouping
  9. Configure proper notification channels
  10. Test alerts regularly

  11. Performance

  12. Limit dashboard refresh rate
  13. Use recording rules for expensive queries
  14. Monitor Grafana resource usage

Security Considerations

  • Restrict dashboard access using Grafana roles
  • Use read-only users for shared dashboards
  • Regularly rotate credentials
  • Monitor access logs

Support

For assistance with monitoring:

AI Labeling

  • [AIR-3] - Automated monitoring and visualization
  • [AIS-3] - Secure dashboard access and configuration
  • [BPC-3] - Bitcoin monitoring best practices
  • [RES-3] - Comprehensive monitoring coverage

See Also