Commit Graph

7 Commits (be07d96c3df84b42dbc0435abcee99f43a26ceab)

Author SHA1 Message Date
Jeff Lucovsky 2d96b6e13b output/stats: Handle stat names w/out scope
Issue: 6094

Not all stat names are scoped, e.g. decoder.pkts is scoped to decoder;
mempressure_max is unscoped.

The concept of a short-name is added to the underlying stat structure so
- Calculation is done once, at stat registration time
- The output code can easily determine if a stat has a scope
2 years ago
Philippe Antoine 9af0dafbad src: fix some include orders
So as to be able to get include removal right
3 years ago
Victor Julien aa31d2193f counters: add StatsDecr 3 years ago
Jason Ish b580016c80 logging: convert stats loggers to non-thread module 9 years ago
Victor Julien 23f17950bc counters: pass per thread stats to output api
As well as the global (merged) stats.
10 years ago
Victor Julien 51a540c27e stats: disable stats if no loggers are enabled 11 years ago
Victor Julien e98346b555 Introduce stats log API, convert existing output
Convert regular 'stats.log' output to this new API.

In addition to the current stats value, also give the last value. This
makes it easy to display the difference.
11 years ago