12 Commits

Author SHA1 Message Date
Janmejay Singh
06cb910621 fix corner-case that allows bucket-meta-metric with max-length to access 1 illegal byte 2015-11-23 15:54:35 +05:30
Janmejay Singh
905f36553b record dyn-metrics only if metrics are being gathered 2015-11-23 14:12:36 +05:30
Janmejay Singh
bcd259884f allow timely reset of metrics + use read-lock for reset-timeout calculation 2015-11-20 20:42:33 +05:30
Janmejay Singh
650f043d2c Fast-path for preventing thundering-herd with a fresh(empty) dyn-metric table, it ignores operations and reports it as a separate metric. 2015-11-18 15:49:22 +05:30
Janmejay Singh
d94abbf49f created a control to bump stats counter for batch-operations in one shot + some asthetic space->tab conversion 2015-11-17 16:16:24 +05:30
Janmejay Singh
0daa59c2fd check behavior of dyn-stats provided meta-counters 2015-11-17 15:09:33 +05:30
Janmejay Singh
d4d74a8188 provision 1.25x size for dynstats metrics hash-table 2015-11-16 16:55:05 +05:30
Janmejay Singh
33cb11db57 dynstats reset-of-accumulated-dyn-metric-names and more-metrics-than-expected flows fixed and tested 2015-11-16 16:43:51 +05:30
Janmejay Singh
e24c175cae - fixed vg-tests to actually check exit code
- fixed and excercised reset dyn-metrics-table flow (where dynamic-metric names are discarded. this excercises unusedMetricLife timer expiry.)
2015-11-13 20:59:07 +05:30
Janmejay Singh
6da7aeb975 - dynstats basic-test first-cut
- vg-test caught a minor issue in impstats (fixed)
- placeholder created for other dynstats tests
- a new assertion in diag.sh which allows extracting a particular column and expecting sum-up to match given value
- imdiag supports injecting litteral messages now (test can send a fully formed syslog message through imdiag, its a backward compatible change in protocol, allows for richer things to be build while being fully backward compatible)
2015-11-13 17:45:07 +05:30
Janmejay Singh
d05710971f some work towards clean-exit in failure senarios in dynstats 2015-11-10 12:54:38 +05:30
Janmejay Singh
59b46975bd dyn-stats (dynamic metric-name support) high-level impl sketch 2015-11-09 22:31:01 +05:30