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

Adding append_dimension for ethtool in schema #1198

Merged
merged 49 commits into from
Jun 7, 2024
Merged

Conversation

Paramadon
Copy link
Contributor

@Paramadon Paramadon commented Jun 4, 2024

Description of the issue

Currently users are not able to have append dimensions to ethtool because the current schema fails since it doesn't have a append_dimension in ethtooldefinitions.

Description of changes

Simple fix to this was to add the append_dimension section to ethtooldefinition. We also needed to change the ApplyRule for Ethtool in order to account for using the append_dimensions input.

Ethtool metrics with added dimensions:

Screenshot 2024-06-06 at 10 33 34 PM

Agent configuration used:

Screenshot 2024-06-06 at 10 47 45 PM Screenshot 2024-06-06 at 10 47 47 PM

License

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

Tests

Describe what tests you have done.

Requirements

Before commit the code, please do the following steps.

  1. Run make fmt and make fmt-sh
  2. Run make lint

@Paramadon Paramadon requested a review from a team as a code owner June 4, 2024 19:36
@sky333999
Copy link
Contributor

Can you attach the json config you were using for your testing and a screenshot of what the metrics look like in CloudWatch?

musa-asad
musa-asad previously approved these changes Jun 7, 2024
sethAmazon
sethAmazon previously approved these changes Jun 7, 2024
@Paramadon Paramadon dismissed stale reviews from sethAmazon and musa-asad via f40a693 June 7, 2024 14:54
musa-asad
musa-asad previously approved these changes Jun 7, 2024
@Paramadon Paramadon merged commit af4df45 into main Jun 7, 2024
6 checks passed
@Paramadon Paramadon deleted the ethtoolappenddim branch June 7, 2024 19:32
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.

5 participants