Skip to content

Separate normal and deprioritized crates in the queue size metric #718

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

Closed
pietroalbini opened this issue Apr 15, 2020 · 1 comment · Fixed by #810 or #831
Closed

Separate normal and deprioritized crates in the queue size metric #718

pietroalbini opened this issue Apr 15, 2020 · 1 comment · Fixed by #810 or #831

Comments

@pietroalbini
Copy link
Member

Now that we implemented automatic deprioritization for large projects (#714) we should extend the metrics exposed by docs.rs to our monitoring system to account for that.

I'd love for the docsrs_queued_crates_count metric to be split into two:

  • docsrs_queued_crates_count with the queued crates that have a neutral or positive priority
  • docsrs_deprioritized_queued_crates_count with the queued crates that have a negative priority

This would allow us to define alerting rules such as "alert when there are more than 50 non-prioritized crates in the queue, or more than 300 deprioritized crates".

@Kixiron
Copy link
Member

Kixiron commented May 31, 2020

I believe I fixed this in #774 I didn't, I was thinking of a different thing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants