Skip to content

Add more instance-level metrics #3684

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

Merged
merged 4 commits into from
Jun 8, 2021
Merged

Conversation

pietroalbini
Copy link
Member

Now that we have support for collecting metrics this PR adds the following ones:

  • response_times: how long preparing responses take, grouped by endpoint. Note that this does not create a metric series for each visited URL: for example all the downloads will be counted as /crates/:crate_id/:version/download.
  • responses_by_status_code_total how many responses we sent, grouped by HTTP status code.
  • downloads_not_counted_total how many download counts aren't persisted yet.

This also had to implement histograms support, needed by response_times.

@rust-highfive
Copy link

r? @jtgeibel

(rust-highfive has picked a reviewer for you, use r? to override)

@jtgeibel
Copy link
Member

jtgeibel commented Jun 8, 2021

LGTM! @bors r+

@bors
Copy link
Contributor

bors commented Jun 8, 2021

📌 Commit 674fb79 has been approved by jtgeibel

@bors
Copy link
Contributor

bors commented Jun 8, 2021

⌛ Testing commit 674fb79 with merge ec4bdc0...

@bors
Copy link
Contributor

bors commented Jun 8, 2021

☀️ Test successful - checks-actions
Approved by: jtgeibel
Pushing ec4bdc0 to master...

@bors bors merged commit ec4bdc0 into rust-lang:master Jun 8, 2021
@pietroalbini pietroalbini deleted the more-metrics branch June 8, 2021 22:36
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.

4 participants