Changeset 16ce15221b247e2c154c6c14f52a100bbe6e410e

Show
Ignore:
Timestamp:
11/22/11 05:05:12 (2 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1321938312 -0500
git-parent:

[303e2b0c22be18290eb1265b3c602a66391fbe8b]

git-author:
Theo Schlossnagle <jesus@omniti.com> 1321938312 -0500
Message:

we weren't applying configured filters to metrics in bundles

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/noit_check_log.c

    rcaae3ed r16ce152  
    361361      /* If we apply the filter set and it returns false, we don't log */ 
    362362      metric_t *m = (metric_t *)vm; 
     363      if(!noit_apply_filterset(check->filterset, check, m)) continue; 
    363364      bundle.metrics[i] = malloc(sizeof(Metric)); 
    364365      metric__init(bundle.metrics[i]); 
     
    372373      i++; 
    373374    } 
     375    bundle.n_metrics = i; 
    374376  } 
    375377