Commit ee9b5486 authored by Pablo Carranza's avatar Pablo Carranza
Browse files

Merge branch 'rs-document-metrics' into 'master'

Add a list of exported metrics to the README

See merge request !45
parents 0f993f77 4032bc37
Pipeline #47426 passed with stage
in 6 minutes and 24 seconds
...@@ -13,21 +13,35 @@ frequency. ...@@ -13,21 +13,35 @@ frequency.
### Supported Probes ### Supported Probes
Below is a list of probes added by this exporter, and their corresponding
metrics.
1. Database 1. Database
* Per-table tuple stats * [Per-table tuple stats](lib/gitlab_monitor/database/tuple_stats.rb) --
* Slow queries `pg_stat_table_*`
* Blocked queries * [Slow queries](lib/gitlab_monitor/database/slow_queries.rb) --
* Vacuum queries `pg_slow_queries_total`
* Row count queries * [Blocked queries](lib/gitlab_monitor/database/blocked_queries.rb) --
* CI builds `pg_blocked_queries_total`
* [Vacuum queries](lib/gitlab_monitor/database/vacuum_queries.rb) --
`pg_vacuum_count`, `pg_vacuum_age_in_seconds`, `pg_vacuum_analyze_count`,
`pg_vacuum_analyze_age_in_seconds`
* [Row count queries](lib/gitlab_monitor/database/row_count.rb) --
`db_rows_count`
* [CI builds](lib/gitlab_monitor/database/ci_builds.rb) --
`ci_pending_builds`, `ci_created_builds`, `ci_stale_builds`,
`ci_running_builds`
1. Git 1. Git
* git pull/push timings * [git pull/push timings](lib/gitlab_monitor/git.rb) --
`git_pull_time_milliseconds`, `git_push_time_milliseconds`
* git processes stats (see Process below) * git processes stats (see Process below)
1. Process 1. [Process](lib/gitlab_monitor/process.rb)
* Age * Age -- `process_age_seconds`
* Count * Count -- `process_count`
* Memory usage * Memory usage -- `process_memory_bytes`
1. Sidekiq 1. [Sidekiq](lib/gitlab_monitor/sidekiq.rb) -- `sidekiq_queue_size`,
`sidekiq_queue_latency`, `sidekiq_enqueued_jobs_count`,
`sidekiq_running_jobs_count`, `sidekiq_jobs_to_be_retried_count`
### Setup with GitLab Development Kit ### Setup with GitLab Development Kit
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment