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

Abhi/dis 428 spawner pipe docker stats output to nats #97

Merged

Conversation

pretentious7
Copy link
Contributor

Realized I didn't put this in as a pr yet, modeled it off the way logs work. Very unsure about both exact design and the stats being passed, as well as the test. But its a start!

@pretentious7 pretentious7 requested a review from paulgb July 25, 2022 12:56
Copy link
Member

@paulgb paulgb left a comment

Choose a reason for hiding this comment

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

This looks good structurally, left a few comments.

src/drone/agent/executor.rs Show resolved Hide resolved
src/messages/agent.rs Outdated Show resolved Hide resolved
src/messages/agent.rs Outdated Show resolved Hide resolved
src/messages/agent.rs Outdated Show resolved Hide resolved
src/messages/agent.rs Outdated Show resolved Hide resolved
tests/src/test-agent.ts Outdated Show resolved Hide resolved
@pretentious7 pretentious7 force-pushed the abhi/dis-428-spawner-pipe-docker-stats-output-to-nats branch from f10662f to aacb832 Compare July 29, 2022 18:32
@pretentious7 pretentious7 marked this pull request as ready for review July 29, 2022 21:23
Copy link
Member

@paulgb paulgb left a comment

Choose a reason for hiding this comment

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

One nit, otherwise looks good. We will probably want to take a deeper look at the calculation (handling of missing values, but also whether the calculations make sense for us).

src/drone/agent/executor.rs Outdated Show resolved Hide resolved
@pretentious7 pretentious7 merged commit 616afb2 into main Aug 1, 2022
@rolyatmax rolyatmax deleted the abhi/dis-428-spawner-pipe-docker-stats-output-to-nats branch August 1, 2022 14:24
pretentious7 added a commit that referenced this pull request Aug 5, 2022
This reverts commit 616afb2.

PROBLEM: when a container is swept, stats continue, except with CPU null
SOLUTION: needs investigation, revert changeset for now and come back to
	  it.
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.

None yet

2 participants