-
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
Mongo dbstats #3228
Merged
Merged
Mongo dbstats #3228
Changes from 25 commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
9274966
initial dbstats implementation and integration tests
f28f347
implemented fields.yml for dbstats metricset
c811c3e
generated documentation and templates via make update
590b9e2
added dbstats documentation
b6f8da3
new implementation that establishes direct connetions to mongo hosts
74f9ee0
successful reporting using direct node connections
dd895b5
debugged field name. integration tests pass
2c92245
debugged avg_obj_size field for proper mapping
5a9ae7f
set FailFast = True for direct connections to prevent a nonresponsive…
8e1934c
provide mongodb host parser to AddMetricSet()
1f420d7
implementing multi-node direct reporting for mongodb.serverStatus
65d8d89
changed database response back to map[string]interface{}{}. otherwis…
a4a6e75
debugging test assertion values so integration test suite passes
3c6d97c
debugged integration tests to work with metricbeats testsuite. added …
aafaafe
copied original metricbeat.yml. Accidentally over-wrote it
663b4da
Merge pull request #1 from scottcrespo/metricbeat-mongodb-persistent-…
99bc01f
added documentation and additional log entry in mongodb module
82be711
more info logs to debug travis ci failures
98b86a0
additional logging to debug CI. removed host parameter to new metricset
f207fac
updated docstring. add mongo url parser back to new metric set call
2b3f230
added build integration comment to integration test modules
abf8973
eliminated multi-node concurrency patterns because it is handled by t…
5bde2ee
implementing eventfetcher, not eventsfetcher
976294a
updated module config to include dbstats metricset
7b0a38f
ran make update
827348c
updated metricbeat mongo modules template configuration to list metri…
2de87a8
udated mongobeat dbstats fields to use byte format where appropriate
54009f4
handle mb field
594085b
update import list order
48f9a53
updating mongodb metricset field format
757dbd0
added experimental flag to mongodb dbstats metricset
06b7220
removed redundant Printf statement
e4b627a
added debugf variable back into metricset modules for easy debug prin…
28e51fd
ran make generate-json for dbstats metricset
1c80f5e
removed dialinfo from mongodb metricsets because we have the mongoses…
a8450fb
updated data mapping to make mmapv1-specific fields optional
35ac943
updated changelog to include latest changes to Metricbeat's MongoDB m…
a9dd25f
Merge branch 'master' of github.com:elastic/beats into mongo-dbstats
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
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,19 @@ | ||
//// | ||
This file is generated! See scripts/docs_collector.py | ||
//// | ||
|
||
[[metricbeat-metricset-mongodb-dbstats]] | ||
include::../../../module/mongodb/dbstats/_meta/docs.asciidoc[] | ||
|
||
|
||
==== Fields | ||
|
||
For a description of each field in the metricset, see the | ||
<<exported-fields-mongodb,exported fields>> section. | ||
|
||
Here is an example document generated by this metricset: | ||
|
||
[source,json] | ||
---- | ||
include::../../../module/mongodb/dbstats/_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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"@timestamp":"2016-05-23T08:05:34.853Z", | ||
"beat":{ | ||
"hostname":"beathost", | ||
"name":"beathost" | ||
}, | ||
"metricset":{ | ||
"host":"localhost", | ||
"module":"mysql", | ||
"name":"status", | ||
"rtt":44269 | ||
}, | ||
"mongodb":{ | ||
"dbstats":{ | ||
"example": "dbstats" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. An example doc should be generated here with |
||
} | ||
}, | ||
"type":"metricsets" | ||
} |
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,3 @@ | ||
=== mongodb dbstats MetricSet | ||
|
||
This is the dbstats metricset of the module mongodb. |
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.
We should probably sort this alphabetically. But not sure if we are consistent in other modules with that ...