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

remove mac terraform resource #297

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Conversation

ymtaye
Copy link
Contributor

@ymtaye ymtaye commented Jul 7, 2023

Description of the issue

Last changes are breaking mac tests and multi_config tests

Description of changes

revert mac resource changes and multi_config test. All tests except o7 and win2012 are passing after reverting changes
https://github.com/aws/private-amazon-cloudwatch-agent-staging/actions/runs/5535298334/jobs/10101621606

License

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@ymtaye ymtaye requested a review from a team as a code owner July 7, 2023 20:12
@jefchien
Copy link
Contributor

jefchien commented Jul 7, 2023

Can you link to the last PR that got merged that caused this issue? Doesn't look like we're doing a revert, so there's no way for me to know where this change is coming from.

@SaxyPandaBear
Copy link
Contributor

@jefchien it's this one #245 I'm looking over it now

@@ -42,11 +42,11 @@ func Validate() error {
},
}

expectedMetrics := []string{"mem_used_percent", "cpu_time_active_userdata", "disk_free"}
expectedMetrics := []string{"memory", "cpu_time_active_userdata", "disk_free"}
Copy link
Contributor

Choose a reason for hiding this comment

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

Good catch. I missed this in the other review

receivers: ["system"]

#Test case name
test_case: "win_restart"
Copy link
Contributor

Choose a reason for hiding this comment

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

This doesn't look like it should be for win_restart

values_per_minute: "2"
agent_collection_period: 60
cloudwatch_agent_config: "<cloudwatch_agent_config>"
metric_namespace: "CloudWatchAgentWinFeature"
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this is probably just a copy paste error

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.

3 participants