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
[AWS Fargate] Remove memory.usage.pct field #8254
[AWS Fargate] Remove memory.usage.pct field #8254
Conversation
🌐 Coverage report
|
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.
With this PR, we are removing the memory.usage.pct
field and replacing it with the memory.usage.total
to represent the memory usage in containers.
Deprecating usually refers to flagging a data field to suggest to users to avoid it because it will no longer be available in future releases.
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.
I suggest to align the PR title and description, stating that it removes the memory.usage.pct
field.
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.
Since this is a beta data stream, it seems okay to remove a field. WDYT @lalit-satapathy?
@lucian-ioan , as per the inputs mentioned in the SDH, it is best to have the below information represented as Metrics panel
This is good considering we are removing the memory utilisation percentage information from the dashboard. |
@agithomas Currently, we are not collecting some limits at input level which is why I chose not to include them. Should I look into it and open a PR in beats? The issue will delay this PR and the AWS Fargate to GA quite a bit. |
From the SDH it is clear that the customers are looking for the memory utilisation information. So, it is highly recommend to have the limits collected and shown in the dashboard . This can be taken up after making GA as well, but must be taken up at the earliest. Is there any immediate requirement to make AWS Fargate GA? |
Retrieved task metadata using AWS CLI and the instructions in the official Amazon ECS documentation.
Beats issue, beats PR to follow shortly. |
Hi @lucian-ioan, please update your branch with the latest contents from main branch. There was an important PR merged updating the CI pipelines. Thanks! |
Tested this with 8.12.0 and it will be ready for review as soon as 8.12.0 releases on the 9th of Jan. |
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!
@lucian-ioan , can we have this merged, based on your comment ? |
Beats release schedule changed, testing now with the new 8.11.4 minor version which was released late last week. |
I think the memory limit makes the most sense in the table, WDYT @agithomas ? Opted for using |
Please see my comment here |
Since the solution proposed in the SDH, several observations:
There can be many different hard limits so a plain metrics counter wouldn't work in this case. I'm thinking of two solutions:
|
This may not be needed. I am afraid, this would lead to the confusions that led to the original SDH. |
It it the one that is mentioned here in the screenshot ? |
yes @agithomas, it could also be Latest Memory Usage, Max Memory Usage and Hard Memory Limit as columns. WDYT @zmoog? |
Made the changes discussed to the dashboard @agithomas, please let me know if they are ok: Found a way to convert the Memory Hard Limits in GB (as they are in AWS) using a formula. |
💚 Build Succeeded
History
cc @lucian-ioan |
Quality Gate passedKudos, no new issues were introduced! 0 New issues |
LGTM! |
Package awsfargate - 0.5.0 containing this change is available at https://epr.elastic.co/search?package=awsfargate |
Proposed commit message
Remove
memory.usage.pct
field and usememory.usage.total
instead for plain memory usage.Checklist
changelog.yml
file.Author's Checklist
How to test this PR locally
Blog post for setting up the integration with Elastic container sidecar.
Related issues
Screenshots
Before:
After: