1. 1. Introduction
  2. 2. Data sources
  3. 3. Install
    1. 3.1. Upgrade
  4. 4. Running yb_stats
    1. 4.1. Specifying hosts
    2. 4.2. Specifying ports
    3. 4.3. Specifying parallel
    4. 4.4. .env
    5. 4.5. yb_stats --snapshot
    6. 4.6. yb_stats --snapshot --extra-data
  5. 5. Output modes
    1. 5.1. Using snapshots
    2. 5.2. Data filters
      1. 5.2.1. --hostname-match
      2. 5.2.2. --stat-name-match
      3. 5.2.3. --table-name-match
    3. 5.3. Data enrichment
      1. 5.3.1. --gauges-enable
      2. 5.3.2. --details-enable
    4. 5.4. yb_stats
    5. 5.5. yb_stats --snapshot-diff
      1. 5.5.1. yb_stats --metrics-diff
        1. 5.5.1.1. Metrics
          1. 5.5.1.1.1. Value statistics
          2. 5.5.1.1.2. CountSum statistics
          3. 5.5.1.1.3. CountSumRows statistics
      2. 5.5.2. yb_stats --node-exporter-diff
        1. 5.5.2.1. Node-exporter statistics
      3. 5.5.3. yb_stats --statements-diff
        1. 5.5.3.1. Statement statistics
      4. 5.5.4. yb_stats --versions-diff
        1. 5.5.4.1. Version diff
      5. 5.5.5. yb_stats --entity-diff
      6. 5.5.6. yb_stats --masters-diff
      7. 5.5.7. yb_stats --tablet-servers-diff
      8. 5.5.8. yb_stats --vars-diff
      9. 5.5.9. yb_stats --healthcheck-diff
    6. 5.6. yb_stats --snapshot-nonmetrics-diff
    7. 5.7. yb_stats --adhoc-metrics-diff
    8. 5.8. yb_stats --adhoc-node-exporter-diff
    9. 5.9. Print modes
      1. 5.9.1. --print-version
      2. 5.9.2. --print-log
      3. 5.9.3. --tail-log
      4. 5.9.4. --print-entities
      5. 5.9.5. --print-masters
      6. 5.9.6. --print-tablet-servers
      7. 5.9.7. --print-vars
      8. 5.9.8. --print-memtrackers
      9. 5.9.9. --print-rpcs
      10. 5.9.10. --print-threads
      11. 5.9.11. --print-gflags
      12. 5.9.12. --print-cluster-config
      13. 5.9.13. --print-health-check
      14. 5.9.14. --print-drives
      15. 5.9.15. --print-tablet-server-operations
      16. 5.9.16. --print-master-tasks
      17. 5.9.17. --print-table-detail
      18. 5.9.18. --print-tablet-detail
  6. 6. Crontab
  7. 7. Troubleshooting

yb_stats book

yb_stats --healthcheck-diff