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

Add Prometheus metric for time spent on GC #8803

Merged

Conversation

hendrikmakait
Copy link
Member

#8543 pointed out that the GC warnings provide some value but are rather spammy. This PR presents adds a Prometheus metric that presents the data in an alternative format that should provide more value when monitoring cluster and workload health.

  • Tests added / passed
  • Passes pre-commit run --all-files

@hendrikmakait hendrikmakait requested a review from fjetter as a code owner July 25, 2024 14:29
@hendrikmakait hendrikmakait changed the title Add metric for time spent on GC Add Prometheus metric for time spent on GC Jul 25, 2024
Copy link
Contributor

github-actions bot commented Jul 25, 2024

Unit Test Results

See test report for an extended history of previous test failures. This is useful for diagnosing flaky tests.

    29 files  ±0      29 suites  ±0   12h 0m 3s ⏱️ + 2m 43s
 4 093 tests ±0   3 974 ✅  - 1    112 💤 ±0  7 ❌ +1 
55 367 runs  ±0  52 917 ✅ +1  2 443 💤  - 2  7 ❌ +1 

For more details on these failures, see this check.

Results for commit 5b8c277. ± Comparison against base commit 30d8139.

♻️ This comment has been updated with latest results.

Copy link
Collaborator

@phofl phofl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

are we removing the log message now?

distributed/tests/test_utils_perf.py Outdated Show resolved Hide resolved
@hendrikmakait
Copy link
Member Author

are we removing the log message now?

Not yet as @fjetter had some reservations, but I have a PR that will disable it by default and reduce the frequency even if it's collected: #8804

@hendrikmakait hendrikmakait merged commit 386e5fe into dask:main Jul 29, 2024
27 of 34 checks passed
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.

2 participants