Skip to content
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

add basic counters to docker command runner #16989

Merged
merged 2 commits into from
Sep 27, 2022

Conversation

tdyas
Copy link
Contributor

@tdyas tdyas commented Sep 24, 2022

Add counters to the Docker command runner to count the number of requests with break-down of successes and failures.

[ci skip-build-wheels]

@tdyas tdyas added the category:internal CI, fixes for not-yet-released features, etc. label Sep 24, 2022
@tdyas
Copy link
Contributor Author

tdyas commented Sep 26, 2022

ping

@@ -51,6 +51,9 @@ pub enum Metric {
RemoteStoreMissingDigest,
/// Number of times that we backtracked due to missing digests.
BacktrackAttempts,
DockerExecutionRequests,
DockerExecutionSuccess,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We call this Successes for RemoteCacheWrite, but singular for RemoteExecution. I think probably plural is better as we use plural generally

Copy link
Contributor

@Eric-Arellano Eric-Arellano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Tom Dyas added 2 commits September 26, 2022 20:05
[ci skip-build-wheels]
[ci skip-build-wheels]
@tdyas tdyas force-pushed the docker_executor_stats branch from eba9c68 to 3bb31ce Compare September 27, 2022 00:08
@tdyas tdyas merged commit 02fa93e into pantsbuild:main Sep 27, 2022
@tdyas tdyas deleted the docker_executor_stats branch September 27, 2022 01:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:internal CI, fixes for not-yet-released features, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants