diff options
Diffstat (limited to 'doc/administration/monitoring')
-rw-r--r-- | doc/administration/monitoring/performance/img/performance_bar_external_http_calls.png | bin | 56569 -> 0 bytes | |||
-rw-r--r-- | doc/administration/monitoring/performance/img/performance_bar_frontend.png | bin | 34521 -> 0 bytes | |||
-rw-r--r-- | doc/administration/monitoring/performance/img/performance_bar_gitaly_calls.png | bin | 81321 -> 0 bytes | |||
-rw-r--r-- | doc/administration/monitoring/performance/img/performance_bar_redis_calls.png | bin | 17273 -> 0 bytes | |||
-rw-r--r-- | doc/administration/monitoring/performance/img/performance_bar_request_selector_warning_expanded.png | bin | 19758 -> 0 bytes | |||
-rw-r--r-- | doc/administration/monitoring/performance/img/performance_bar_rugged_calls.png | bin | 28784 -> 0 bytes | |||
-rw-r--r-- | doc/administration/monitoring/performance/img/performance_bar_sql_queries.png | bin | 139550 -> 0 bytes | |||
-rw-r--r-- | doc/administration/monitoring/performance/performance_bar.md | 31 | ||||
-rw-r--r-- | doc/administration/monitoring/prometheus/gitlab_metrics.md | 13 | ||||
-rw-r--r-- | doc/administration/monitoring/prometheus/postgres_exporter.md | 2 |
10 files changed, 21 insertions, 25 deletions
diff --git a/doc/administration/monitoring/performance/img/performance_bar_external_http_calls.png b/doc/administration/monitoring/performance/img/performance_bar_external_http_calls.png Binary files differdeleted file mode 100644 index 45f2b0956e9..00000000000 --- a/doc/administration/monitoring/performance/img/performance_bar_external_http_calls.png +++ /dev/null diff --git a/doc/administration/monitoring/performance/img/performance_bar_frontend.png b/doc/administration/monitoring/performance/img/performance_bar_frontend.png Binary files differdeleted file mode 100644 index 9cc874c883a..00000000000 --- a/doc/administration/monitoring/performance/img/performance_bar_frontend.png +++ /dev/null diff --git a/doc/administration/monitoring/performance/img/performance_bar_gitaly_calls.png b/doc/administration/monitoring/performance/img/performance_bar_gitaly_calls.png Binary files differdeleted file mode 100644 index 6caa2869d9b..00000000000 --- a/doc/administration/monitoring/performance/img/performance_bar_gitaly_calls.png +++ /dev/null diff --git a/doc/administration/monitoring/performance/img/performance_bar_redis_calls.png b/doc/administration/monitoring/performance/img/performance_bar_redis_calls.png Binary files differdeleted file mode 100644 index f2df8c794db..00000000000 --- a/doc/administration/monitoring/performance/img/performance_bar_redis_calls.png +++ /dev/null diff --git a/doc/administration/monitoring/performance/img/performance_bar_request_selector_warning_expanded.png b/doc/administration/monitoring/performance/img/performance_bar_request_selector_warning_expanded.png Binary files differdeleted file mode 100644 index 36553f513e1..00000000000 --- a/doc/administration/monitoring/performance/img/performance_bar_request_selector_warning_expanded.png +++ /dev/null diff --git a/doc/administration/monitoring/performance/img/performance_bar_rugged_calls.png b/doc/administration/monitoring/performance/img/performance_bar_rugged_calls.png Binary files differdeleted file mode 100644 index 0340ca1b2f7..00000000000 --- a/doc/administration/monitoring/performance/img/performance_bar_rugged_calls.png +++ /dev/null diff --git a/doc/administration/monitoring/performance/img/performance_bar_sql_queries.png b/doc/administration/monitoring/performance/img/performance_bar_sql_queries.png Binary files differdeleted file mode 100644 index ef74e0a3b6e..00000000000 --- a/doc/administration/monitoring/performance/img/performance_bar_sql_queries.png +++ /dev/null diff --git a/doc/administration/monitoring/performance/performance_bar.md b/doc/administration/monitoring/performance/performance_bar.md index f6aa60b36a1..dd43c7d6fbb 100644 --- a/doc/administration/monitoring/performance/performance_bar.md +++ b/doc/administration/monitoring/performance/performance_bar.md @@ -18,25 +18,20 @@ From left to right, it displays: - **Current Host**: the current host serving the page. - **Database queries**: the time taken (in milliseconds) and the total number of database queries, displayed in the format `00ms / 00 (00 cached) pg`. Click to display - a modal window with more details: - ![SQL profiling using the Performance Bar](img/performance_bar_sql_queries.png) + a modal window with more details. - **Gitaly calls**: the time taken (in milliseconds) and the total number of [Gitaly](../../gitaly/index.md) calls. Click to display a modal window with more - details: - ![Gitaly profiling using the Performance Bar](img/performance_bar_gitaly_calls.png) + details. - **Rugged calls**: the time taken (in milliseconds) and the total number of [Rugged](../../nfs.md#improving-nfs-performance-with-gitlab) calls. - Click to display a modal window with more details: - ![Rugged profiling using the Performance Bar](img/performance_bar_rugged_calls.png) + Click to display a modal window with more details. - **Redis calls**: the time taken (in milliseconds) and the total number of - Redis calls. Click to display a modal window with more details: - ![Redis profiling using the Performance Bar](img/performance_bar_redis_calls.png) + Redis calls. Click to display a modal window with more details. - **Elasticsearch calls**: the time taken (in milliseconds) and the total number of Elasticsearch calls. Click to display a modal window with more details. - **External HTTP calls**: the time taken (in milliseconds) and the total number of external calls to other systems. Click to display a modal window - with more details - ![External call details in the Performance Bar](img/performance_bar_external_http_calls.png) + with more details. - **Load timings** of the page: if your browser supports load timings (Chromium and Chrome) several values in milliseconds, separated by slashes. Click to display a modal window with more details. The values, from left to right: @@ -44,8 +39,7 @@ From left to right, it displays: - [**First Contentful Paint**](https://web.dev/first-contentful-paint/): Time until something was visible to the user. - [**DomContentLoaded**](https://developers.google.com/web/fundamentals/performance/critical-rendering-path/measure-crp) Event. - - **Total number of requests** the page loaded: - ![Frontend requests using the Performance Bar](img/performance_bar_frontend.png) + - **Total number of requests** the page loaded. - **Trace**: If Jaeger is integrated, **Trace** links to a Jaeger tracing page with the current request's `correlation_id` included. - **+**: A link to add a request's details to the performance bar. The request @@ -60,21 +54,18 @@ From left to right, it displays: ## Request warnings -Requests exceeding predefined limits display a warning **{warning}** icon and -explanation next to the failing metric. In this example, the Gitaly call duration -exceeded the threshold: +Requests that exceed predefined limits display a warning **{warning}** icon and +explanation next to the metric. In this example, the Gitaly call duration +exceeded the threshold. ![Gitaly call duration exceeded threshold](img/performance_bar_gitaly_threshold.png) If any requests on the current page generated warnings, the warning icon displays -next to the **Request selector**: +next to the **Requests** selector menu. In this selector menu, an exclamation `(!)` +appears next to requests with warnings. ![Request selector showing two requests with warnings](img/performance_bar_request_selector_warning.png) -Requests with warnings display `(!)` after their path in the **Request selector**: - -![Request selector showing dropdown](img/performance_bar_request_selector_warning_expanded.png) - ## Enable the Performance Bar via the Admin Area The GitLab Performance Bar is disabled by default. To enable it for a given group: diff --git a/doc/administration/monitoring/prometheus/gitlab_metrics.md b/doc/administration/monitoring/prometheus/gitlab_metrics.md index 9f87192aab0..f29db9ead38 100644 --- a/doc/administration/monitoring/prometheus/gitlab_metrics.md +++ b/doc/administration/monitoring/prometheus/gitlab_metrics.md @@ -74,8 +74,6 @@ The following metrics are available: | `gitlab_transaction_event_import_repository_total` | Counter | 9.4 | Counter for repository imports (RepositoryImportWorker) | | | `gitlab_transaction_event_patch_hard_limit_bytes_hit_total` | Counter | 13.9 | Counter for diff patch size limit hits | | | `gitlab_transaction_event_push_branch_total` | Counter | 9.4 | Counter for all branch pushes | | -| `gitlab_transaction_event_push_commit_total` | Counter | 9.4 | Counter for commits | `branch` | -| `gitlab_transaction_event_push_tag_total` | Counter | 9.4 | Counter for tag pushes | | | `gitlab_transaction_event_rails_exception_total` | Counter | 9.4 | Counter for number of rails exceptions | | | `gitlab_transaction_event_receive_email_total` | Counter | 9.4 | Counter for received emails | `handler` | | `gitlab_transaction_event_remote_mirrors_failed_total` | Counter | 10.8 | Counter for failed remote mirrors | | @@ -129,6 +127,9 @@ The following metrics are available: | `pipeline_graph_link_calculation_duration_seconds` | Histogram | 13.9 | Total time spent calculating links, in seconds | | | `pipeline_graph_links_total` | Histogram | 13.9 | Number of links per graph | | | `pipeline_graph_links_per_job_ratio` | Histogram | 13.9 | Ratio of links to job per graph | | +| `gitlab_ci_pipeline_security_orchestration_policy_processing_duration_seconds` | Histogram | 13.12 | Time in seconds it takes to process Security Policies in CI/CD pipeline | | +| `gitlab_ci_difference_live_vs_actual_minutes` | Histogram | 13.12 | Difference between CI minute consumption counted while jobs were running (live) vs when jobs are complete (actual). Used to enforce CI minute consumption limits on long running jobs. | `plan` | +| `gitlab_spamcheck_request_duration_seconds` | Histogram | 13.12 | The duration for requests between Rails and the anti-spam engine | | ## Metrics controlled by a feature flag @@ -214,11 +215,15 @@ configuration option in `gitlab.yml`. These metrics are served from the | `geo_package_files_failed` | Gauge | 13.3 | Number of syncable package files failed to sync on secondary | `url` | | `geo_package_files_registry` | Gauge | 13.3 | Number of package files in the registry | `url` | | `geo_terraform_state_versions` | Gauge | 13.5 | Number of terraform state versions on primary | `url` | -| `geo_terraform_state_versions_checksummed` | Gauge | 13.5 | Number of terraform state versions checksummed on primary | `url` | +| `geo_terraform_state_versions_checksummed` | Gauge | 13.5 | Number of terraform state versions checksummed successfully on primary | `url` | | `geo_terraform_state_versions_checksum_failed` | Gauge | 13.5 | Number of terraform state versions failed to calculate the checksum on primary | `url` | +| `geo_terraform_state_versions_checksum_total` | Gauge | 13.12 | Number of terraform state versions tried to checksum on primary | `url` | | `geo_terraform_state_versions_synced` | Gauge | 13.5 | Number of syncable terraform state versions synced on secondary | `url` | | `geo_terraform_state_versions_failed` | Gauge | 13.5 | Number of syncable terraform state versions failed to sync on secondary | `url` | | `geo_terraform_state_versions_registry` | Gauge | 13.5 | Number of terraform state versions in the registry | `url` | +| `geo_terraform_state_versions_verified` | Gauge | 13.12 | Number of terraform state versions verified on secondary | `url` | +| `geo_terraform_state_versions_verification_failed` | Gauge | 13.12 | Number of terraform state versions verifications failed on secondary | `url` | +| `geo_terraform_state_versions_verification_total` | Gauge | 13.12 | Number of terraform state versions verifications tried on secondary | `url` | | `global_search_bulk_cron_queue_size` | Gauge | 12.10 | Number of database records waiting to be synchronized to Elasticsearch | | | `global_search_awaiting_indexing_queue_size` | Gauge | 13.2 | Number of database updates waiting to be synchronized to Elasticsearch while indexing is paused | | | `geo_merge_request_diffs` | Gauge | 13.4 | Number of merge request diffs on primary | `url` | @@ -254,7 +259,7 @@ The following metrics are available: |:--------------------------------- |:--------- |:------------------------------------------------------------- |:-------------------------------------- |:--------------------------------------------------------- | | `db_load_balancing_hosts` | Gauge | [12.3](https://gitlab.com/gitlab-org/gitlab/-/issues/13630) | Current number of load balancing hosts | | | `sidekiq_load_balancing_count` | Counter | 13.11 | Sidekiq jobs using load balancing with data consistency set to :sticky or :delayed | `queue`, `boundary`, `external_dependencies`, `feature_category`, `job_status`, `urgency`, `data_consistency`, `database_chosen` | - + ## Database partitioning metrics **(PREMIUM SELF)** The following metrics are available: diff --git a/doc/administration/monitoring/prometheus/postgres_exporter.md b/doc/administration/monitoring/prometheus/postgres_exporter.md index 783030a9220..8a851afe35b 100644 --- a/doc/administration/monitoring/prometheus/postgres_exporter.md +++ b/doc/administration/monitoring/prometheus/postgres_exporter.md @@ -6,7 +6,7 @@ info: To determine the technical writer assigned to the Stage/Group associated w # PostgreSQL Server Exporter **(FREE SELF)** -The [PostgreSQL Server Exporter](https://github.com/wrouesnel/postgres_exporter) allows you to export various PostgreSQL metrics. +The [PostgreSQL Server Exporter](https://github.com/prometheus-community/postgres_exporter) allows you to export various PostgreSQL metrics. For installations from source you must install and configure it yourself. |