Description
The LoggingMeter on master does include a total count, but the values of the percentiles are all 0.
info: Couchbase.Core.Diagnostics.Metrics.LoggingMeter[0]
|
{
|
"meta": {
|
"emit_interval_s": 10000.0
|
},
|
"kv": {
|
"127.0.0.1:11210": {
|
"total_count": 97634,
|
"percentiles_us": {
|
"75.0": 0.0,
|
"95.0": 0.0,
|
"98.0": 0.0,
|
"99.9": 0.0,
|
"100.00": 0.0
|
}
|
}
|
}
|
}
|
Also, note how 100 has two decimal points while the others have one.
Okay, this is very interesting. This seems to be somehow connected with the threshold logging tracer. By default it is set to not enabled right now, and in this case all the percentiles are 0.
But when I turn on the threshold logging tracer like this:
var to = new ThresholdOptions();
to.Enabled = true;
then suddenly metric percentiles are reported:
info: Couchbase.Core.Diagnostics.Metrics.LoggingMeter[0]
{
"meta": {
"emit_interval_s": 10000.0
},
"kv": {
"127.0.0.1:11210": {
"total_count": 72032,
"percentiles_us": {
"75.0": 12.0,
"95.0": 17.0,
"98.0": 26.0,
"99.9": 68.3630000000003,
"100.00": 69.0
}
}
}
}