Merge remote-tracking branch 'origin/topic/jazoff/weird-stats-perf'

* origin/topic/jazoff/weird-stats-perf:
  Reduce weird-stats overhead
This commit is contained in:
Jon Siwek 2019-03-27 12:36:34 -07:00
commit 956674745b
3 changed files with 7 additions and 1 deletions

View file

@ -1,4 +1,8 @@
2.6-195 | 2019-03-27 12:36:34 -0700
* Reduce weird-stats overhead (Justin Azoff, Corelight)
2.6-193 | 2019-03-27 10:53:01 -0700
* Update now-broken Broker API usages (Jon Siwek, Corelight)

View file

@ -1 +1 @@
2.6-193
2.6-195

View file

@ -84,6 +84,8 @@ function observe_weird_stats()
# less synchronized?
event SumStats::cluster_ss_request(uid: string, ss_name: string, cleanup: bool) &priority=10
{
if ( ss_name != "weirds.statistics" )
return;
observe_weird_stats();
}