Skip to content

Commit

Permalink
Add couchdb module (#9406)
Browse files Browse the repository at this point in the history
  • Loading branch information
berfinsari authored and jsoriano committed Jan 28, 2019
1 parent 8349e70 commit 6293568
Show file tree
Hide file tree
Showing 27 changed files with 1,251 additions and 0 deletions.
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

0 comments on commit 6293568

Please sign in to comment.