-
Notifications
You must be signed in to change notification settings - Fork 5k
Task/use etcd metrics endpoint #11280
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
Merged
odacremolbap
merged 25 commits into
elastic:master
from
odacremolbap:task/use-etcd-metrics-endpoint
Mar 26, 2019
Merged
Changes from 21 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
d72e96e
etcd metrics - has_leader metric
372c32d
add all standard etcd metrics
3088b3a
add recommended metrics for etcd
dd2e3ee
add boilerplate comments
62c1289
Merge branch 'master' into task/use-etcd-metrics-endpoint
850545c
Merge branch 'master' into task/use-etcd-metrics-endpoint
9d7fa51
unit test WIP
95348e8
Merge branch 'master' into task/use-etcd-metrics-endpoint
d091993
add test that allows for automated test data generation
a8bad5a
add docs
7d8e607
set etcd metrics metricset to beta
5f8e873
merge master + resolve conflict
a44bd2a
avoid dot naming at metricsets buckets
5c1500b
revert to etcd GA metrics as default
ebc8158
remove redundant check from etcd event test
244de8a
remove non useful tests
985cf0b
add refactored units
cdf9730
add apiVersion for V2 etcd metrics
980106c
add namespace for etcd v3 metrics
e85ed22
add test data for etcd metrics
84fa7e7
add updated docs
ecae2ee
update data.json for all etcd modules (removing agent)
4340666
merge master, solve conflicts
77bacce
properly structure fields
f2f3642
add Etcd V3 metrics MetricSet to python tests
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 hidden or 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 hidden or 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 hidden or 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,23 @@ | ||
| //// | ||
| This file is generated! See scripts/docs_collector.py | ||
| //// | ||
|
|
||
| [[metricbeat-metricset-etcd-metrics]] | ||
| === Etcd metrics metricset | ||
|
|
||
| beta[] | ||
|
|
||
| include::../../../module/etcd/metrics/_meta/docs.asciidoc[] | ||
|
|
||
|
|
||
| ==== Fields | ||
|
|
||
| For a description of each field in the metricset, see the | ||
| <<exported-fields-etcd,exported fields>> section. | ||
|
|
||
| Here is an example document generated by this metricset: | ||
|
|
||
| [source,json] | ||
| ---- | ||
| include::../../../module/etcd/metrics/_meta/data.json[] | ||
| ---- |
This file contains hidden or 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 hidden or 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or 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 |
|---|---|---|
|
|
@@ -3,6 +3,7 @@ | |
| # - leader | ||
| # - self | ||
| # - store | ||
| # - metrics | ||
| period: 10s | ||
| hosts: ["localhost:2379"] | ||
| #username: "user" | ||
|
|
||
This file contains hidden or 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or 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 |
|---|---|---|
| @@ -1 +1,2 @@ | ||
| This is the leader metricset of the module etcd. | ||
| This metrics is being read from the Etcd V2 endpoint and won't show any activity regarding Etcd V3. |
This file contains hidden or 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.
Nice. I think this should be moved to its own PR, with a note in the developers changelog.
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.
+1 on having a separate PR. I think @sayden will also be happy to see this.
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.
thanks,
created #11423
pushed #11424