Skip to content

Cherry-pick #14801 to 7.x: [Metricbeat] Add billing metricset for aws module#14986

Merged
kaiyan-sheng merged 3 commits intoelastic:7.xfrom
kaiyan-sheng:backport_14801_7.x
Dec 6, 2019
Merged

Cherry-pick #14801 to 7.x: [Metricbeat] Add billing metricset for aws module#14986
kaiyan-sheng merged 3 commits intoelastic:7.xfrom
kaiyan-sheng:backport_14801_7.x

Conversation

@kaiyan-sheng
Copy link
Copy Markdown
Contributor

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

AWS stores estimate billing charges in Cloudwatch us-east-1 region for users to see estimate charges for total, or by each service. The values are estimates, not predictions. The estimate approximates the cost of AWS usage to date within the current billing cycle and will increase as users continue to consume resources.

Screen Shot 2019-11-26 at 9 00 33 AM

This will be a good use case for alerting so users get alerted when AWS charges are higher than expected

One overview dashboard is built for this metricset:
localhost_5601_app_kibana (1)

How to test this

Enable aws module and change aws.yml to:

- module: aws
  period: 12h
  metricsets:
    - billing
  credential_profile_name: test-mb

This takes a while because estimated billing data are sent to Cloudwatch every several hours.

closes #14934

* Add billing metricset for aws module

* add dashboard

* Update changelog

(cherry picked from commit bbb8f1f)
@kaiyan-sheng kaiyan-sheng self-assigned this Dec 6, 2019
Copy link
Copy Markdown
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.

Preserving no other changes than in the original PR and green status of Travis CI, LGTM.

@kaiyan-sheng kaiyan-sheng merged commit cf4411c into elastic:7.x Dec 6, 2019
@kaiyan-sheng kaiyan-sheng deleted the backport_14801_7.x branch December 6, 2019 20:55
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