-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Add azure module/monitor metricset #13196
Merged
Merged
Changes from 25 commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
d5bbbc4
Progress commit
narph 52f709e
Progress on azure module
narph 774b609
Staging
narph cbf3f77
Progres on POC
narph bb47fd2
Work on client
narph d5936c3
Update event format, implement refresh interval
narph c2e79b7
Merge branch 'master' into azure-module
narph 6dc4433
Work on importing dependencies
narph 6a081f7
Fix houndbot notifications
narph b6514c5
Start work on unittests
narph 45dde4d
Work on unittests
narph b257446
Work on unittests
narph 9fdd3dd
Adding unittests
narph 5b686b0
Fixing issues
narph 1b32171
Generate fields
narph 2bed2a2
Small changes
narph 69bdb22
Merge branch 'master' into azure-module
narph c6b8e23
Work on removing double records
narph ddd3b27
Work on error handling and regenrate files
narph 0f1b733
Rename system.yml
narph 3e8662c
Working on build
narph 7cfb9b9
Work on build
narph 587a3f6
Fmt
narph c712eba
generate notice
narph 5676fa9
Work on unittests
narph 3b26aaf
Adding 2 new metricsets
narph dbba93a
Work on grouping metric values per event
narph 1294bb2
Work on handling errors
narph 426cfe8
Work on tests
narph 0da8ac7
run fmt update
narph e746103
Merge branch 'master' into azure-module
narph 6a075e3
Generate notice
narph a17d73e
Work on monitor service
narph d001e84
Work on failing test
narph e1f19f2
Wotk on test
narph bd47d97
Work on feedback
narph beac3e6
Work on event format
narph File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
//// | ||
This file is generated! See scripts/mage/docs_collector.go | ||
//// | ||
|
||
[[metricbeat-module-azure]] | ||
[role="xpack"] | ||
== azure module | ||
|
||
beta[] | ||
|
||
This is the azure module. | ||
|
||
|
||
|
||
[float] | ||
=== Example configuration | ||
|
||
The azure module supports the standard configuration options that are described | ||
in <<configuration-metricbeat>>. Here is an example configuration: | ||
|
||
[source,yaml] | ||
---- | ||
metricbeat.modules: | ||
- module: azure | ||
metricsets: ["monitor"] | ||
enabled: true | ||
period: 60s | ||
client_id: '${AZURE_CLIENT_ID:""}' | ||
client_secret: '${AZURE_CLIENT_SECRET:""}' | ||
tenant_id: '${AZURE_TENANT_ID:""}' | ||
subscription_id: '${AZURE_SUBSCRIPTION_ID:""}' | ||
---- | ||
|
||
[float] | ||
=== Metricsets | ||
|
||
The following metricsets are available: | ||
|
||
* <<metricbeat-metricset-azure-monitor,monitor>> | ||
|
||
include::azure/monitor.asciidoc[] | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
//// | ||
This file is generated! See scripts/mage/docs_collector.go | ||
//// | ||
|
||
[[metricbeat-metricset-azure-monitor]] | ||
=== azure monitor metricset | ||
|
||
beta[] | ||
|
||
include::../../../../x-pack/metricbeat/module/azure/monitor/_meta/docs.asciidoc[] | ||
|
||
This is a default metricset. If the host module is unconfigured, this metricset is enabled by default. | ||
|
||
==== Fields | ||
|
||
For a description of each field in the metricset, see the | ||
<<exported-fields-azure,exported fields>> section. | ||
|
||
Here is an example document generated by this metricset: | ||
|
||
[source,json] | ||
---- | ||
include::../../../../x-pack/metricbeat/module/azure/monitor/_meta/data.json[] | ||
---- |
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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
More than a big example it may be good to have smaller examples with more explanations in the docs. We may revisit docs in follow-ups in any case.