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

Cherry-pick #16111 to 7.x: [Metricbeat] Add vpc metricset for aws module #16677

Merged
merged 1 commit into from
Feb 28, 2020
Merged

Cherry-pick #16111 to 7.x: [Metricbeat] Add vpc metricset for aws module #16677

merged 1 commit into from
Feb 28, 2020

Conversation

kaiyan-sheng
Copy link
Contributor

Cherry-pick of PR #16111 to 7.x branch. Original message:

What does this PR do?

This PR is to add support for collecting vpc related monitoring metrics from CloudWatch. This includes AWS/NATGateway, AWS/VPN and AWS/TransitGateway namespaces.

Why is it important?

Users can use this vpc metricset to collect metrics related to their VPCs, for example: bytes received/sent through VPN tunnel, total number of concurrent active TCP connections through NAT gateway, and number of bytes sent/received from transit gateway.

Checklist

  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have made corresponding change to the default configuration files
  • I have added tests that prove my fix is effective or that my feature works

Author's Checklist

  • generate data.json
  • dashboard

How to test this PR locally

Make sure the AWS account you use for testing has VPC related metrics first.
Enable vpc metricset and then change aws.yml to:

- module: aws
  period: 1m
  credential_profile_name: elastic-test
  metricsets:
    - vpc

Related issues

#14854

* Add vpn into vpc metricset
* Add NATGateway and TrasitGateway

(cherry picked from commit 96100df)
@kaiyan-sheng kaiyan-sheng requested a review from a team as a code owner February 27, 2020 22:07
@kaiyan-sheng kaiyan-sheng self-assigned this Feb 27, 2020
@kaiyan-sheng kaiyan-sheng merged commit 2f48b2d into elastic:7.x Feb 28, 2020
@kaiyan-sheng kaiyan-sheng deleted the backport_16111_7.x branch February 28, 2020 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants