Cherry-pick #20812 to 7.x: [Metricbeat] Add billing metricset into googlecloud module#20923
Cherry-pick #20812 to 7.x: [Metricbeat] Add billing metricset into googlecloud module#20923kaiyan-sheng merged 3 commits intoelastic:7.xfrom kaiyan-sheng:backport_20812_7.x
Conversation
* Add billing metricset to googlecloud module (cherry picked from commit ed6f101)
|
Pinging @elastic/integrations-platforms (Team:Platforms) |
💔 Tests FailedExpand to view the summary
Build stats
Test stats 🧪
Test errorsExpand to view the tests failures
Steps errorsExpand to view the steps failures
Log outputExpand to view the last 100 lines of log output
|
Cherry-pick of PR #20812 to 7.x branch. Original message:
What does this PR do?
This PR is to add billing metricset into googlecloud module. For GCP, there is no direct billing API like AWS Cost Explorer to query for billing information. In order to get the billing date, users need to export billing reports into GCP BigQuery database and then this billing metricset can make some queries to get the actual billing data out.
Why is it important?
This will make GCP users' life a lot easier when tracking billing data 😄
Checklist
CHANGELOG.next.asciidocorCHANGELOG-developer.next.asciidoc.How to test this PR locally
It took me a while to get permissions for GCP billing account. Not sure how this will be tested in a short period of time. The config I used for billing metricset is:
Related issues
Screenshots