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

[Metricbeat] Add CouchDB Dashboard #13198

Merged
merged 6 commits into from Aug 22, 2019
Merged

Conversation

sorantis
Copy link
Contributor

@sorantis sorantis commented Aug 8, 2019

Partially addresses #10594.

This CouchDB dashboard visualizes the following metrics:

  - name: couchdb.server.httpd.view_reads
    description: Number of view reads.
  - name: couchdb.server.httpd.temporary_view_reads
    description: Number of temporary view reads.

  - name: couchdb.server.couchdb.open_databases
    description: Number of open databases.

  - name: couchdb.server.httpd_status_codes.*
    description: HTTP status code response rates (200, 201, 202, 400, 401, 403, 404, 405, 409, 500).

  - name: couchdb.server.httpd_request_methods.*
    description: HTTP request method rates (GET, POST, PUT, DELETE, HEAD, COPY).

  - name: couchdb.server.couchdb.database_reads
    description: Number of times a document was read from a database.
  - name: couchdb.server.couchdb.database_writes
    description: Number of times a database was changed.

  - name: couchdb.server.httpd.view_reads
    description: Number of view reads.
  - name: couchdb.server.httpd.temporary_view_reads
    description: Number of temporary view reads.

  - name: couchdb.server.couchdb.auth_cache_hits
    description: Number of authentication cache hits.
  - name: couchdb.server.couchdb.auth_cache_misses
    description: Number of authentication cache misses.

Dashboard snapshot:

metricbeat-couchdb-overview

@sorantis sorantis requested review from a team as code owners August 8, 2019 11:16
@sorantis sorantis self-assigned this Aug 8, 2019
@sorantis sorantis added Team:Integrations Label for the Integrations team Metricbeat Metricbeat review enhancement labels Aug 8, 2019
Copy link
Member

@jsoriano jsoriano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice dashboard!

Are open databases the number of open connections? I think it is useful to see the number of connections over time.

CHANGELOG.next.asciidoc Outdated Show resolved Hide resolved
@sorantis
Copy link
Contributor Author

sorantis commented Aug 9, 2019

Are open databases the number of open connections? I think it is useful to see the number of connections over time.

Yes. Changed to a TS graph.

@sorantis sorantis requested review from jsoriano and kaiyan-sheng and removed request for a team August 22, 2019 07:58
Copy link
Member

@jsoriano jsoriano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added a couple of minor comments, once resolved this looks good to go.

@@ -171,7 +171,7 @@
}
}
},
"title": "[Metricbeat CouchDB] HTTP Status Codes",
"title": "HTTP Status Codes [Metricbeat CouchDB] ECS",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The ECS suffix was intended for migration of dashboards from 6.x to 7.x, it is not needed on dashboards created after 7.0.

"objects": [
{
"attributes": {
"description": "This CouchDB dashboard visualizes the most important CouchDB server metrics.\n\n",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are you adding the newlines at the end \n\n?

@sorantis sorantis merged commit cec16f3 into elastic:master Aug 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Metricbeat Metricbeat review Team:Integrations Label for the Integrations team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants