add second docs.rs build process to metrics collection #352
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
after we got a bigger EC2 machine for docs.rs, we are setting up a second build-process to parallize builds.
This gives us a bigger advantage than just having faster non-parallel builds.
I don't know anything about the network topoligy between prometheus & the docs.rs server, so the change here is an untested guess.
The second build-server exposes a small HTTP server at the port where it returns the prometheus metrics.
If this doesn't work we could also configure a special path in the nginx config that proxies the request to the second build process.