Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use higher-resolution timestamps for metrics #1395

Closed
bgrainger opened this issue Nov 15, 2023 · 0 comments
Closed

Use higher-resolution timestamps for metrics #1395

bgrainger opened this issue Nov 15, 2023 · 0 comments
Assignees

Comments

@bgrainger
Copy link
Member

The metrics use durations computed from Environment.TickCount, which typically has a resolution of 15ms. This isn't fine-grained enough to report DB connection creation times.

Switch to using Stopwatch.GetTimestamp() or a similar high-resolution timer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant