forked from elastic/beats
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove metricIDNameMap and use ListMetrics to construct metric queries (
elastic#10627) * Remove metricNameIDMap and use ListMetrics to construct metric queries * Add utils.go to put common functions for all metricsets * Remove fields that dont need to apply schema * Remove s.Optional in schema and use s.FailOnRequired instead * Regenerate data,json * Move GetMetricDataResults into utils.go * Replace with report.error * Separating TestData from TestFetch * Move two functions only used by integration tests into a separate file * Move aws_testing.go under mtest
- Loading branch information
1 parent
59061d4
commit 589fd32
Showing
9 changed files
with
611 additions
and
413 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.