-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Consistency in Elastic stack metricsets' code (#8308)
* Consistent error handling in elasticsearch/cluster_stats metricset * Consistent error handling in elasticsearch/index_recovery metricset * Remove punctuation from error messages * Inline variable * Reordering imports * Adding periods to the ends of godoc comments * More consistency cleanup * More consistency fixes * More consistency fixes * Fixing API path * Consistent code in elasticsearch/pending_tasks metricset * More code consistency * Consistent code in elasticsearch/shard metricset * Consistent code in elasticsearch/ccr metricset * Making code in kibana module metricsets consistent * Making fully-qualified metricset name consistent * Use elasticsearch.ModuleName constant instead of string literal * Making logstash/node metricset code consistent * Making the logstash/node_stats metricset code consistent * Refactoring common reporting and error pattern into helper function * Updating unit tests * Changes from running make fmt * Re-running make fmt after downgrading golang to 10.3 * Fixes due to make update * Updating LS module integration tests * Update kibana/status integration test * Report error with event (for non x-pack path) * Attaching errors to events * Fixing imports in integration tests * Fixing error (cherry picked from commit 3b2399d)
- Loading branch information
1 parent
3fd1032
commit 8958e89
Showing
47 changed files
with
532 additions
and
331 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
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
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.