Skip to content

split service&instance metrics, serve metrics for build-server & watcher #2038

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 8 commits into from
Jun 4, 2023

Conversation

syphar
Copy link
Member

@syphar syphar commented Feb 11, 2023

  • split service & instance metrics into separate objects, serve them via separate endpoints
  • add a small webserver to serve metrics for the build-server & registry watcher

IMO this is the last piece missing to close #795 , while touching it I also split the metrics (#1755), so collecting the metrics could be optimized.

I also tried to find a non-macro approach for the metrics definition & registration, perhaps migrating the instance-metrics too. (I'm taking ideas how to improve this further)

@github-actions github-actions bot added the S-waiting-on-review Status: This pull request has been implemented and needs to be reviewed label Feb 11, 2023
@jyn514 jyn514 added S-waiting-on-author Status: This PR is incomplete or needs to address review comments and removed S-waiting-on-review Status: This pull request has been implemented and needs to be reviewed labels May 29, 2023
syphar added 2 commits June 3, 2023 07:43
* split service & instance metrics into separate objects, serve them via
  separate endpoints

* add a small webserver to serve metrics for the build-server & registry
  watcher
@syphar syphar force-pushed the builder-metrics branch from 1f7d897 to a212834 Compare June 3, 2023 05:46
@syphar syphar force-pushed the builder-metrics branch from 8b8bde9 to b02cf89 Compare June 3, 2023 07:08
@syphar syphar added S-waiting-on-review Status: This pull request has been implemented and needs to be reviewed and removed S-waiting-on-author Status: This PR is incomplete or needs to address review comments labels Jun 3, 2023
@syphar syphar requested a review from Nemo157 June 3, 2023 07:09
@syphar syphar requested a review from Nemo157 June 3, 2023 18:39
@syphar syphar merged commit f1a7e46 into rust-lang:master Jun 4, 2023
@syphar syphar deleted the builder-metrics branch June 4, 2023 04:39
@github-actions github-actions bot added S-waiting-on-deploy This PR is ready to be merged, but is waiting for an admin to have time to deploy it and removed S-waiting-on-review Status: This pull request has been implemented and needs to be reviewed labels Jun 4, 2023
@syphar
Copy link
Member Author

syphar commented Jun 4, 2023

thank you for the help @Nemo157 ❤️

@syphar syphar removed the S-waiting-on-deploy This PR is ready to be merged, but is waiting for an admin to have time to deploy it label Jun 29, 2023
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.

Split apart web server and build server
3 participants