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

feat: use microseconds for measuring pool checkouts #493

Merged
merged 1 commit into from
Nov 28, 2024

Conversation

hauleth
Copy link
Contributor

@hauleth hauleth commented Nov 21, 2024

What is the current behavior?

Currently we measure pools checkouts in milliseconds, but these do not give us enough resolution and almost everything is crammed into le="1" bucket.

What is the new behavior?

Change time unit used for measures to microsecond so all measurements are multiplied by factor of 1000 which should give us better insights into real distribution.

@hauleth hauleth requested a review from a team as a code owner November 21, 2024 19:35
@hauleth hauleth force-pushed the ft/use-microseconds-for-measuring-pool-checkouts branch 3 times, most recently from 2394c95 to 1e579f8 Compare November 27, 2024 18:59
@hauleth hauleth requested review from chasers and abc3 November 27, 2024 19:00
@hauleth
Copy link
Contributor Author

hauleth commented Nov 27, 2024

@chasers I have changed the metric name in Prometheus/VictoriaMetrics to include the unit, so it wouldn't be confused with "old" metrics, but it will require updates in the Grafana dashboards.

@hauleth hauleth force-pushed the ft/use-microseconds-for-measuring-pool-checkouts branch from 1e579f8 to fa53010 Compare November 28, 2024 16:35
@hauleth hauleth merged commit 1ef379a into v2 Nov 28, 2024
1 check passed
@hauleth hauleth deleted the ft/use-microseconds-for-measuring-pool-checkouts branch November 28, 2024 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants