scan_performance.json 490 B

123456789101112131415
  1. {
  2. "type": "SQLOperator",
  3. "node_name": "HDFS_SCAN_NODE",
  4. "metric_names": [
  5. "RowsRead",
  6. "ScannerThreadsUserTime",
  7. "ScannerThreadsSysTime",
  8. "AverageScannerThreadConcurrency"
  9. ],
  10. "rule": {
  11. "expr": "(vars['ScannerThreadsUserTime'] + vars['ScannerThreadsSysTime'] - vars['RowsRead'] * 100) / max(1,vars['AverageScannerThreadConcurrency'])",
  12. "message": "Predicates might be expensive (expectes speed 10m rows per sec per core)",
  13. "label": "Slow HDFS Scan"
  14. }
  15. }