Skip to content

Migrate AWS Fargate metrics module to package #2971

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

Merged
merged 28 commits into from
Apr 13, 2022

Conversation

zmoog
Copy link
Contributor

@zmoog zmoog commented Apr 1, 2022

What does this PR do?

Adds a brand new awsfargate package with the migration of the awsfargate module from Metricbeat.

As the origin module, this package supports the collection of the task_stats metrics from Amazon Elastic Container Service (Amazon ECS) clusters only.

Metrics from the Amazon EKS clusters are not supported by this package yet.

Checklist

  • I have reviewed tips for building integrations and this pull request is aligned with them.
  • I have verified that all data streams collect metrics or logs.
  • I have added an entry to my package's changelog.yml file.
  • I have verified that Kibana version constraints are current according to guidelines.

Author's Checklist

  • [ ]

How to test this PR locally

Testing locally requires a special container from AWS.

To learn more, follow the step described at zmoog/til#7

Related issues

Screenshots

Integrations list:

CleanShot 2022-04-14 at 16 44 07@2x

Integration information:

CleanShot 2022-04-14 at 16 44 28@2x

Installation details:

CleanShot 2022-04-14 at 16 53 31@2x

@zmoog zmoog self-assigned this Apr 1, 2022
@zmoog zmoog added the enhancement New feature or request label Apr 1, 2022
@elasticmachine
Copy link

elasticmachine commented Apr 1, 2022

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

Build stats

  • Start Time: 2022-04-12T08:52:24.792+0000

  • Duration: 12 min 14 sec

Test stats 🧪

Test Results
Failed 0
Passed 11
Skipped 0
Total 11

🤖 GitHub comments

To re-run your PR in the CI, just comment with:

  • /test : Re-trigger the build.

@zmoog zmoog changed the title Migrate AWS Fargate module to package Migrate AWS Fargate metrics module to package Apr 1, 2022
@zmoog zmoog marked this pull request as ready for review April 1, 2022 14:17
@zmoog zmoog requested a review from a team as a code owner April 1, 2022 14:17
@zmoog zmoog force-pushed the zmoog/migrate-aws-fargate branch 4 times, most recently from 6b76523 to 064f19c Compare April 5, 2022 08:56
@zmoog zmoog force-pushed the zmoog/migrate-aws-fargate branch from 1660402 to a99b9a8 Compare April 7, 2022 14:25
Copy link
Contributor

@kaiyan-sheng kaiyan-sheng left a comment

Choose a reason for hiding this comment

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

LGTM! One nit: could you compress the dashboard screenshot just in case it's too large. Reference pr: #2767

@zmoog
Copy link
Contributor Author

zmoog commented Apr 12, 2022

One nit: could you compress the dashboard screenshot just in case it's too large

Oh, you're right: it's quite big for a web resource, I see the other integration have far smaller sizes. I'm updating it!

Thank you for bringing it up!

@zmoog
Copy link
Contributor Author

zmoog commented Apr 12, 2022

# before (1.2M)
$ ls -l
-rw-r--r--  1 zmoog  staff  1291721 Apr  7 16:25 metricbeat-awsfargate-overview.png

$ pngquant --ext .png --force *.png

# after (400K)
$ ls -l
-rw-r--r--  1 zmoog  staff  407842 Apr 12 10:44 metricbeat-awsfargate-overview.png

@zmoog zmoog force-pushed the zmoog/migrate-aws-fargate branch from fb3ee05 to 1c2d060 Compare April 12, 2022 08:52
Copy link
Contributor

@mtojek mtojek left a comment

Choose a reason for hiding this comment

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

CODEOWNERS LGTM

@zmoog zmoog merged commit 219d2e3 into elastic:main Apr 13, 2022
@zmoog zmoog deleted the zmoog/migrate-aws-fargate branch April 13, 2022 08:01
@zmoog zmoog added Integration:aws AWS Team:Cloud-Monitoring Label for the Cloud Monitoring team labels Aug 5, 2022
@andrewkroh andrewkroh added Integration:awsfargate AWS Fargate (for ECS clusters) New Integration Issue or pull request for creating a new integration package. and removed Integration:aws AWS labels Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Integration:awsfargate AWS Fargate (for ECS clusters) New Integration Issue or pull request for creating a new integration package. Team:Cloud-Monitoring Label for the Cloud Monitoring team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants