-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[ASCII-145] Extract render subpackge from status #20776
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, with one suggestion
c6c0cdc
to
48453eb
Compare
Go Package Import DifferencesBaseline: a2ef092
|
48453eb
to
a5e97e8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved, reviewed on the basis of apm files
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM for container-integrations files
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes look fine, but mind updating the QA instructions for the process agent status check? The command should be /opt/datadog-agent/embedded/bin/process-agent status
because it's a different binary
58dec94
to
fe628cc
Compare
176f2de
to
d8c61b3
Compare
5f9922f
to
65ca3d3
Compare
…ly use status/collector and status/render
65ca3d3
to
7d61e71
Compare
What does this PR do?
The PR uses the work from this PR as the base.
The main takeaways from this PR are:
pkg/status
package.pkg/status/render
(Probably the name could be change topkg/status/format
status/render
package. The result is less packages are importedcheck <check name>
subcommand, so it no longer import the entirestatus
package, but rather juststatus/collector
andstatus/render
🎉Motivation
Additional Notes
Possible Drawbacks / Trade-offs
Describe how to test/QA your changes
The output of the status commands works as expected.
Normal agent
agent status
agent check [checkName]
agent launch-gui
agent flare [caseID]
Cluster agent
agent status
agent metamap [nodeName]
agent flare [caseID]
Process agent
/opt/datadog-agent/embedded/bin/process-agent status
Security Agent
agent status
Reviewer's Checklist
Triage
milestone is set.major_change
label if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.changelog/no-changelog
label has been applied.qa/skip-qa
label is not applied.team/..
label has been applied, indicating the team(s) that should QA this change.need-change/operator
andneed-change/helm
labels have been applied.k8s/<min-version>
label, indicating the lowest Kubernetes version compatible with this feature.