Skip to content

Conversation

@geigerj0
Copy link
Contributor

@geigerj0 geigerj0 commented Jul 14, 2023

What is this change about?

Expect new cache fields which has been introduced with https://github.com/cloudfoundry/executor/pull/83/files#diff-ce7c6acd1213d11c38682fac36c436010409569ee2001df1a5f78fce95c57770R10-R11.

What problem it is trying to solve?

Stakeholders can't observe the network traffic usage for a particular app.

What is the impact if the change is not made?

cf tail -c metrics <app-guid> -f will not show rx_bytes and tx_bytes.

How should this change be described in diego-release release notes?

Container network traffic is now being sent to the logging stack.

Please provide any contextual information.

Tag your pair, your PM, and/or team!

Dependencies

must be merged first:

@geigerj0 geigerj0 changed the title expect new fields enhance test to expect new network traffic usage fields Jul 18, 2023
@geigerj0 geigerj0 marked this pull request as ready for review July 18, 2023 06:53
@geigerj0 geigerj0 requested a review from a team as a code owner July 18, 2023 06:53
@geofffranks
Copy link
Contributor

LGTM, waiting to approve/merge until the dependent PRs get merged + bumped in diego-release.

Comment on lines +59 to +62
// part of the response up to "tasks"
lrps := strings.Split(string(body), "tasks")[0]
// part of the response after "tasks"
tasks := strings.Split(string(body), "tasks")[1]
Copy link
Contributor Author

@geigerj0 geigerj0 Aug 10, 2023

Choose a reason for hiding this comment

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

unrelated cleanup: fixed the tests to do checks related to lrps / tasks part of the response

@geofffranks geofffranks merged commit efd19db into cloudfoundry:main Aug 23, 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.

2 participants