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 PostgreSQL Dashboard #13187

Merged
merged 8 commits into from
Aug 23, 2019

Conversation

sorantis
Copy link
Contributor

@sorantis sorantis commented Aug 7, 2019

Partially addresses #10594.
Closes: #13103.

The dashboards shows the following metrics:

- name: database
  - name: transactions.commit
    description: Number of transactions in this database that have been committed.
  - name: transactions.rollback
    description: Number of transactions in this database that have been rolled back.

  - name: blocks.time.read.ms
    description: Time spent reading data file blocks by backends in this database, in milliseconds.
  - name: blocks.time.write.ms
    description: Time spent writing data file blocks by backends in this database, in milliseconds.

  - name: rows.returned
    description: Number of rows returned by queries in this database.
  - name: rows.fetched
    description: Number of rows fetched by queries in this database.

  - name: rows.inserted
    description: Number of rows inserted by queries in this database.
  - name: rows.updated
    description: Number of rows updated by queries in this database.
  - name: rows.deleted
    description: Number of rows deleted by queries in this database.

  - name: conflicts
    description: Number of queries canceled due to conflicts with recovery in this database.
  - name: deadlocks
    description: Number of deadlocks detected in this database.

- name: statement
  - name: query.calls
    description: Number of times the query has been run.

  - name: query.time.total.ms
    description: Total number of milliseconds spent running query.

  - name: query.memory.shared.hit
    description: Total number of shared block cache hits by the query.
  - name: query.memory.shared.read
    description: Total number of shared block cache read by the query.

  - name: query.memory.local.hit
    description: Total number of local block cache hits by the query.
  - name: query.memory.local.read
    description: Total number of local block cache read by the query.

Screen Shot 2019-08-07 at 13 48 20

@sorantis sorantis added enhancement review Metricbeat Metricbeat Team:Integrations Label for the Integrations team labels Aug 7, 2019
@sorantis sorantis requested review from a team August 7, 2019 12:54
@sorantis sorantis self-assigned this Aug 7, 2019
@sorantis
Copy link
Contributor Author

sorantis commented Aug 8, 2019

jenkins, test this please

@kaiyan-sheng
Copy link
Contributor

Sorry one more thing, if you click edit dashboard, then you can see Customize panel:
Screen Shot 2019-08-09 at 7 01 40 AM

Then you can remove the [Metricbeat PostgreSQL] part from visualization titles just for the dashboard.

@sorantis
Copy link
Contributor Author

sorantis commented Aug 9, 2019

fixed

@sorantis sorantis requested review from kaiyan-sheng and jsoriano and removed request for a team August 22, 2019 16:52
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.

[Metricbeat] Create PostgreSQL dashboard
3 participants