Skip to content
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 couchdb module #9406

Merged
merged 25 commits into from
Jan 28, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
1fe3989
Add couchdb module with server metricset
berfinsari Dec 5, 2018
2a27d07
Add couchdb module
berfinsari Dec 5, 2018
5f03dd8
Adding entry to CHANGELOG
berfinsari Dec 5, 2018
fb6e802
Add comment to exported fields
berfinsari Dec 6, 2018
a091a56
Run make update fmt command in x-pack/metricbeat directory
berfinsari Dec 14, 2018
1ed6361
Add description of fields
berfinsari Dec 19, 2018
0da9615
Change couchdb version in Dockerfile
berfinsari Dec 19, 2018
a8852e5
Update generated docs
berfinsari Dec 19, 2018
1755abc
Merge remote-tracking branch 'upstream/master' into couchdb-module
berfinsari Jan 7, 2019
008fb45
Update generated docs
berfinsari Jan 8, 2019
835357f
Update collected metrics
berfinsari Jan 8, 2019
26227f7
Run make update fmt command in x-pack/metricbeat directory
berfinsari Jan 8, 2019
cac74a7
Add module and metricset releases
berfinsari Jan 9, 2019
362140d
Adding check for errors
berfinsari Jan 9, 2019
ea89d1f
Fix incomplete json in test files
berfinsari Jan 9, 2019
c2ec79f
Update generated docs
berfinsari Jan 9, 2019
068136a
Update server integration test
berfinsari Jan 11, 2019
ab38d19
Change type float to long in fields.yml
berfinsari Jan 11, 2019
88563e0
Update data.json
berfinsari Jan 26, 2019
a744eff
Merge branch 'master' into couchdb-module
berfinsari Jan 26, 2019
38d54e1
Change Couchdb version and Update integration test
berfinsari Jan 26, 2019
af9bfd0
Merge branch 'couchdb-module' of https://github.com/berfinsari/beats …
berfinsari Jan 26, 2019
78baf23
Update fields.go
berfinsari Jan 26, 2019
8a30cb8
Fix fields.go issue
berfinsari Jan 26, 2019
d8eaf90
Fix not documented event in system test
berfinsari Jan 26, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -834,6 +834,7 @@ The issue will be fixed in the 6.4.1 release.
- Release prometheus collector metricset as GA. {pull}7660[7660]
- Add Elasticsearch `cluster_stats` metricset. {pull}7638[7638]
- Added `basepath` setting for HTTP-based metricsets {pull}7700[7700]
- Add couchdb module. {pull}9406[9406]

*Packetbeat*

Expand Down
4 changes: 4 additions & 0 deletions metricbeat/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ services:
- ./module/apache/_meta/env
- ./module/ceph/_meta/env
- ./module/couchbase/_meta/env
- ./module/couchdb/_meta/env
- ./module/dropwizard/_meta/env
- ./module/elasticsearch/_meta/env
- ./module/envoyproxy/_meta/env
Expand Down Expand Up @@ -59,6 +60,9 @@ services:
couchbase:
build: ./module/couchbase/_meta

couchdb:
build: ./module/couchdb/_meta

dropwizard:
build: ./module/dropwizard/_meta

Expand Down
359 changes: 359 additions & 0 deletions metricbeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ grouped in the following categories:
* <<exported-fields-cloud>>
* <<exported-fields-common>>
* <<exported-fields-couchbase>>
* <<exported-fields-couchdb>>
* <<exported-fields-docker-processor>>
* <<exported-fields-docker>>
* <<exported-fields-dropwizard>>
Expand Down Expand Up @@ -2549,6 +2550,364 @@ type: long
Number of items/documents that are replicas.


--

[[exported-fields-couchdb]]
== couchdb fields

couchdb module



[float]
== couchdb fields




[float]
== server fields

Contains CouchDB server stats



[float]
== httpd fields

HTTP statistics



*`couchdb.server.httpd.view_reads`*::
+
--
type: long

Number of view reads


--

*`couchdb.server.httpd.bulk_requests`*::
+
--
type: long

Number of bulk requests


--

*`couchdb.server.httpd.clients_requesting_changes`*::
+
--
type: long

Number of clients for continuous _changes


--

*`couchdb.server.httpd.temporary_view_reads`*::
+
--
type: long

Number of temporary view reads


--

*`couchdb.server.httpd.requests`*::
+
--
type: long

Number of HTTP requests


--

[float]
== httpd_request_methods fields

HTTP request methods



*`couchdb.server.httpd_request_methods.COPY`*::
+
--
type: long

Number of HTTP COPY requests


--

*`couchdb.server.httpd_request_methods.HEAD`*::
+
--
type: long

Number of HTTP HEAD requests


--

*`couchdb.server.httpd_request_methods.POST`*::
+
--
type: long

Number of HTTP POST requests


--

*`couchdb.server.httpd_request_methods.DELETE`*::
+
--
type: long

Number of HTTP DELETE requests


--

*`couchdb.server.httpd_request_methods.GET`*::
+
--
type: long

Number of HTTP GET requests


--

*`couchdb.server.httpd_request_methods.PUT`*::
+
--
type: long

Number of HTTP PUT requests


--

[float]
== httpd_status_codes fields

HTTP status codes statistics



*`couchdb.server.httpd_status_codes.200`*::
+
--
type: long

Number of HTTP 200 OK responses


--

*`couchdb.server.httpd_status_codes.201`*::
+
--
type: long

Number of HTTP 201 Created responses


--

*`couchdb.server.httpd_status_codes.202`*::
+
--
type: long

Number of HTTP 202 Accepted responses


--

*`couchdb.server.httpd_status_codes.301`*::
+
--
type: long

Number of HTTP 301 Moved Permanently responses


--

*`couchdb.server.httpd_status_codes.304`*::
+
--
type: long

Number of HTTP 304 Not Modified responses


--

*`couchdb.server.httpd_status_codes.400`*::
+
--
type: long

Number of HTTP 400 Bad Request responses


--

*`couchdb.server.httpd_status_codes.401`*::
+
--
type: long

Number of HTTP 401 Unauthorized responses


--

*`couchdb.server.httpd_status_codes.403`*::
+
--
type: long

Number of HTTP 403 Forbidden responses


--

*`couchdb.server.httpd_status_codes.404`*::
+
--
type: long

Number of HTTP 404 Not Found responses


--

*`couchdb.server.httpd_status_codes.405`*::
+
--
type: long

Number of HTTP 405 Method Not Allowed responses


--

*`couchdb.server.httpd_status_codes.409`*::
+
--
type: long

Number of HTTP 409 Conflict responses


--

*`couchdb.server.httpd_status_codes.412`*::
+
--
type: long

Number of HTTP 412 Precondition Failed responses


--

*`couchdb.server.httpd_status_codes.500`*::
+
--
type: long

Number of HTTP 500 Internal Server Error responses


--

[float]
== couchdb fields

couchdb statistics



*`couchdb.server.couchdb.database_writes`*::
+
--
type: long

Number of times a database was changed


--

*`couchdb.server.couchdb.open_databases`*::
+
--
type: long

Number of open databases


--

*`couchdb.server.couchdb.auth_cache_misses`*::
+
--
type: long

Number of authentication cache misses


--

*`couchdb.server.couchdb.request_time`*::
+
--
type: long

Length of a request inside CouchDB without MochiWeb


--

*`couchdb.server.couchdb.database_reads`*::
+
--
type: long

Number of times a document was read from a database


--

*`couchdb.server.couchdb.auth_cache_hits`*::
+
--
type: long

Number of authentication cache hits


--

*`couchdb.server.couchdb.open_os_files`*::
+
--
type: long

Number of file descriptors CouchDB has open


--

[[exported-fields-docker-processor]]
Expand Down
Loading