Set display unit for event counter (#12331)

This commit is contained in:
Brennan 2019-07-19 10:07:56 -07:00 committed by GitHub
parent 54e1906805
commit e808a4f2ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -108,6 +108,7 @@ namespace Microsoft.AspNetCore.Http.Connections.Internal
_connectionDuration ??= new EventCounter("connections-duration", this)
{
DisplayName = "Average Connection Duration",
DisplayUnits = "ms",
};
}
}