Skip to content

[AWS] Move transit gateway lightweight module config into integration - #3840

Merged
kaiyan-sheng merged 7 commits into
elastic:mainfrom
zmoog:lw-mods-transit-gateway
Jul 27, 2022
Merged

kaiyan-sheng merged 7 commits into
elastic:mainfrom
zmoog:lw-mods-transit-gateway

Conversation

@zmoog

@zmoog zmoog commented Jul 26, 2022 •

Copy link
Copy Markdown
Contributor

What does this PR do?

This PR is to move lightweight module configuration from Metricbeat into integrations for Transit Gateway.

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.

Related issues

@zmoog zmoog self-assigned this Jul 26, 2022
@zmoog zmoog added enhancement New feature or request Team:Cloud-Monitoring Label for the Cloud Monitoring team labels Jul 26, 2022
@elasticmachine

elasticmachine commented Jul 26, 2022 •

Copy link
Copy Markdown

💚 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-27T21:49:03.096+0000

  • Duration: 39 min 19 sec

Test stats 🧪

Test Results
Failed 0
Passed 346
Skipped 0
Total 346

🤖 GitHub comments

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

  • /test : Re-trigger the build.

@elasticmachine

elasticmachine commented Jul 27, 2022 •

Copy link
Copy Markdown

🌐 Coverage report

Name Metrics % (covered/total) Diff
Packages 100.0% (11/11) 💚
Files 91.667% (11/12) 👎 -5.465
Classes 91.667% (11/12) 👎 -5.465
Methods 82.243% (176/214) 👎 -7.018
Lines 92.894% (2157/2322) 👍 2.299
Conditionals 100.0% (0/0) 💚

@zmoog
zmoog force-pushed the lw-mods-transit-gateway branch from e4fedd8 to 1b0d487 Compare July 27, 2022 07:32
@zmoog
zmoog marked this pull request as ready for review July 27, 2022 07:33
@zmoog
zmoog requested a review from a team as a code owner July 27, 2022 07:33

@tommyers-elastic tommyers-elastic left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM!

@zmoog
zmoog force-pushed the lw-mods-transit-gateway branch from 1b0d487 to e0b66d1 Compare July 27, 2022 10:02

@kaiyan-sheng kaiyan-sheng left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Looks good to me! One nit: could you remove the '*.metrics.*.*' field from package-fields.yml please? since we list all the fields we are collecting in fields.yml, this '*.metrics.*.*' is not needed anymore.

@zmoog
zmoog force-pushed the lw-mods-transit-gateway branch from e0b66d1 to 20f7a5a Compare July 27, 2022 21:38
zmoog added 6 commits July 27, 2022 23:43
Add two missing metrics to the CloudWatch query:
- BytesDropCountNoRoute
- BytesDropCountBlackhole

The "[Metrics AWS] TransitGateway Overview" dashboard requires these two metrics to work correctly.
The mapping `*.metrics.*.*` is not needed anymore
@zmoog
zmoog force-pushed the lw-mods-transit-gateway branch from cd3fa37 to 326e307 Compare July 27, 2022 21:45
@zmoog
zmoog requested a review from kaiyan-sheng July 27, 2022 22:14

@kaiyan-sheng kaiyan-sheng left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

LGTM! Thank you!!

@kaiyan-sheng
kaiyan-sheng merged commit 972cfdc into elastic:main Jul 27, 2022
@zmoog
zmoog deleted the lw-mods-transit-gateway branch July 27, 2022 23:10
orestisfl pushed a commit to orestisfl/integrations that referenced this pull request May 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request Team:Cloud-Monitoring Label for the Cloud Monitoring team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove lightweight modules from aws transitgateway data stream

6 participants