tsweb: update doc on BucketedStatsOptions.Finish to match behavior

I originally came to update this to match the documented behavior, but
the code is deliberately avoiding this behavior currently, making it
hard to decide how to update this. For now just align the documentation
to the behavior.

Updates #cleanup

Signed-off-by: James Tucker <james@tailscale.com>
This commit is contained in:
James Tucker 2024-04-02 15:42:41 -07:00 committed by James Tucker
parent 14683371ee
commit 9eaa56df93
1 changed files with 2 additions and 1 deletions

View File

@ -189,7 +189,8 @@ type BucketedStatsOptions struct {
Started *metrics.LabelMap
// If non-nil, Finished maintains a counter of all requests which
// have finished processing (that is, the HTTP handler has returned).
// have finished processing with success (that is, the HTTP handler has
// returned).
Finished *metrics.LabelMap
}