Add comment about active request count attributes (#8221)
This commit is contained in:
parent
8aeffa5e80
commit
832549744b
|
@ -102,6 +102,8 @@ public final class HttpServerMetrics implements OperationListener {
|
|||
context);
|
||||
return;
|
||||
}
|
||||
// it's important to use exactly the same attributes that were used when incrementing the active
|
||||
// request count (otherwise it will split the timeseries)
|
||||
activeRequests.add(-1, applyActiveRequestsView(state.startAttributes()), context);
|
||||
Attributes durationAndSizeAttributes =
|
||||
applyServerDurationAndSizeView(state.startAttributes(), endAttributes);
|
||||
|
|
Loading…
Reference in New Issue