Skip to content

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

Closed
@pietroalbini

Description

@pietroalbini

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".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions