Skip to content

Add ECS metricset and fix various visualizations #3799

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 8 commits into from
Jul 27, 2022

Conversation

legoguy1000
Copy link
Contributor

What does this PR do?

Adds a new datastream for ECS metrics and fixes several visualizations that have invalid fields

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

Related issues

Screenshots

@legoguy1000 legoguy1000 requested review from a team as code owners July 21, 2022 19:00
@elasticmachine
Copy link

elasticmachine commented Jul 21, 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-07-27T14:26:03.558+0000

  • Duration: 36 min 59 sec

Test stats 🧪

Test Results
Failed 0
Passed 334
Skipped 0
Total 334

🤖 GitHub comments

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

  • /test : Re-trigger the build.

@kaiyan-sheng
Copy link
Contributor

/test

@kaiyan-sheng kaiyan-sheng added Integration:aws AWS Team:Cloud-Monitoring Label for the Cloud Monitoring team labels Jul 25, 2022
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.

Thank you so much for adding this and also fixing the dashboards 😄 Could you add a sample_event.json file for the new datastream? TIA!!

@legoguy1000
Copy link
Contributor Author

legoguy1000 commented Jul 25, 2022 via email

@elasticmachine
Copy link

elasticmachine commented Jul 25, 2022

🌐 Coverage report

Name Metrics % (covered/total) Diff
Packages 100.0% (11/11) 💚
Files 91.667% (11/12) 👎 -5.454
Classes 91.667% (11/12) 👎 -5.454
Methods 82.464% (174/211) 👎 -6.768
Lines 92.894% (2157/2322) 👍 2.302
Conditionals 100.0% (0/0) 💚

@kaiyan-sheng
Copy link
Contributor

@legoguy1000 We usually run the new datastream locally and copy-paste an event from ES into sample_event.json to show what the event collected by this data stream look like. For example: https://github.com/elastic/integrations/blob/main/packages/aws/data_stream/ec2_metrics/sample_event.json

@legoguy1000
Copy link
Contributor Author

I can "fake" one but i don't have access to an ECS cluster at this time to generate an event

legoguy1000 and others added 2 commits July 25, 2022 23:44
I ran the integration on the local stack and grabbed a sample event
from a test cluster.
@zmoog
Copy link
Contributor

zmoog commented Jul 26, 2022

Hey @legoguy1000, I hope you don't mind: I installed the integration on my local stack and grabbed a new event from a test cluster.

@legoguy1000
Copy link
Contributor Author

Teamwork makes the dream work

@kaiyan-sheng
Copy link
Contributor

/test

@legoguy1000
Copy link
Contributor Author

legoguy1000 commented Jul 26, 2022 via email

@legoguy1000
Copy link
Contributor Author

@kaiyan-sheng Resolved the comments.

@kaiyan-sheng
Copy link
Contributor

/test

@kaiyan-sheng kaiyan-sheng merged commit 1c57575 into elastic:main Jul 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Integration:aws AWS Team:Cloud-Monitoring Label for the Cloud Monitoring team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[AWS] Dashboards are using wrong field names
4 participants