Commit 89334d22 authored by Amy Qualls's avatar Amy Qualls

Merge branch 'eread/remove-more-influxdb-information' into 'master'

Remove more references to InfluxDB

See merge request gitlab-org/gitlab!51771
parents 3a78f793 7b43b476
...@@ -157,3 +157,4 @@ exceptions: ...@@ -157,3 +157,4 @@ exceptions:
- XML - XML
- XSS - XSS
- YAML - YAML
- ZIP
...@@ -4,22 +4,24 @@ group: Health ...@@ -4,22 +4,24 @@ group: Health
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/engineering/ux/technical-writing/#assignments info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/engineering/ux/technical-writing/#assignments
--- ---
# GitLab Configuration # GitLab configuration
GitLab Performance Monitoring is disabled by default. To enable it and change any of its GitLab Performance Monitoring is disabled by default. To enable it and change any of its
settings: settings:
1. Navigate to **Admin Area > Settings > Metrics and profiling** 1. Navigate to **Admin Area > Settings > Metrics and profiling**
(`/admin/application_settings/metrics_and_profiling`): (`/admin/application_settings/metrics_and_profiling`).
1. Add the necessary configuration changes.
![GitLab Performance Monitoring Administration Settings](img/metrics_gitlab_configuration_settings.png) 1. Restart all GitLab for the changes to take effect:
1. You must restart all GitLab processes for the changes to take effect:
- For Omnibus GitLab installations: `sudo gitlab-ctl restart` - For Omnibus GitLab installations: `sudo gitlab-ctl restart`
- For installations from source: `sudo service gitlab restart` - For installations from source: `sudo service gitlab restart`
## Pending Migrations NOTE:
Removed [in GitLab 13.0](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/30786). Use the
[Prometheus integration](../prometheus/index.md) instead.
## Pending migrations
When any migrations are pending, the metrics are disabled until the migrations When any migrations are pending, the metrics are disabled until the migrations
have been performed. have been performed.
......
...@@ -17,42 +17,38 @@ or Grafana supplies package repositories (Yum/Apt) for easy installation. ...@@ -17,42 +17,38 @@ or Grafana supplies package repositories (Yum/Apt) for easy installation.
See [Grafana installation documentation](https://grafana.com/docs/grafana/latest/installation/) See [Grafana installation documentation](https://grafana.com/docs/grafana/latest/installation/)
for detailed steps. for detailed steps.
Before starting Grafana for the first time, set the admin user Before starting Grafana for the first time, set the administration user
and password in `/etc/grafana/grafana.ini`. If you don't, the default password and password in `/etc/grafana/grafana.ini`. If you don't, the default password
is `admin`. is `admin`.
## Configuration ## Configuration
1. Log in to Grafana as the admin user. 1. Log in to Grafana as the administration user.
1. Expand the menu by clicking the Grafana logo in the top left corner. 1. Select **Data Sources** from the **Configuration** menu.
1. Choose **Data Sources** from the menu. 1. Select the **Add data source** button.
1. Click **Add new** in the top bar: 1. Select the required data source type. For example, [Prometheus](../prometheus/index.md#prometheus-as-a-grafana-data-source).
![Grafana empty data source page](img/grafana_data_source_empty.png) 1. Complete the details for the data source and select the **Save & Test** button.
1. Edit the data source to fit your needs:
![Grafana data source configurations](img/grafana_data_source_configuration.png) Grafana should indicate the data source is working.
1. Click **Save**.
## Import Dashboards ## Import Dashboards
You can now import a set of default dashboards to start displaying useful information. You can now import a set of default dashboards to start displaying useful information.
GitLab has published a set of default GitLab has published a set of default
[Grafana dashboards](https://gitlab.com/gitlab-org/grafana-dashboards) to get you started. [Grafana dashboards](https://gitlab.com/gitlab-org/grafana-dashboards) to get you started. To use
Clone the repository, or download a ZIP file or tarball, then follow these steps to import each them:
JSON file individually:
1. Log in to Grafana as the admin user. 1. Clone the repository, or download a ZIP file or tarball.
1. Open the dashboard dropdown menu and click **Import**: 1. Follow these steps to import each JSON file individually:
![Grafana dashboard dropdown](img/grafana_dashboard_dropdown.png)
1. Click **Choose file**, and browse to the location where you downloaded or
cloned the dashboard repository. Select a JSON file to import:
![Grafana dashboard import](img/grafana_dashboard_import.png)
1. After the dashboard is imported, click the **Save dashboard** icon in the top bar:
![Grafana save icon](img/grafana_save_icon.png)
If you don't save the dashboard after importing it, the dashboard is removed 1. Log in to Grafana as the administration user.
when you navigate away from the page. 1. Select **Manage** from the **Dashboards** menu.
1. Select the **Import** button, then the **Upload JSON file** button.
1. Locate the JSON file to import and select **Choose for Upload**. Select the **Import** button.
1. After the dashboard is imported, select the **Save dashboard** icon in the top bar.
Repeat this process for each dashboard you wish to import. If you don't save the dashboard after importing it, the dashboard is removed
when you navigate away from the page. Repeat this process for each dashboard you wish to import.
Alternatively, you can import all the dashboards into your Grafana Alternatively, you can import all the dashboards into your Grafana
instance. For more information about this process, see the instance. For more information about this process, see the
...@@ -103,7 +99,7 @@ sudo mv /var/opt/gitlab/grafana/data.bak.xxxx/ /var/opt/gitlab/grafana/data/ ...@@ -103,7 +99,7 @@ sudo mv /var/opt/gitlab/grafana/data.bak.xxxx/ /var/opt/gitlab/grafana/data/
However, you should **not** reinstate your old data _except_ under one of the following conditions: However, you should **not** reinstate your old data _except_ under one of the following conditions:
1. If you're certain that you changed your default admin password when you enabled Grafana. 1. If you're certain that you changed your default administration password when you enabled Grafana.
1. If you run GitLab in a private network, accessed only by trusted users, and your 1. If you run GitLab in a private network, accessed only by trusted users, and your
Grafana login page has not been exposed to the internet. Grafana login page has not been exposed to the internet.
...@@ -121,8 +117,6 @@ existing data and dashboards. ...@@ -121,8 +117,6 @@ existing data and dashboards.
For more information and further mitigation details, please refer to our For more information and further mitigation details, please refer to our
[blog post on the security release](https://about.gitlab.com/releases/2019/08/12/critical-security-release-gitlab-12-dot-1-dot-6-released/). [blog post on the security release](https://about.gitlab.com/releases/2019/08/12/critical-security-release-gitlab-12-dot-1-dot-6-released/).
---
Read more on: Read more on:
- [Introduction to GitLab Performance Monitoring](index.md) - [Introduction to GitLab Performance Monitoring](index.md)
......
...@@ -6,6 +6,11 @@ info: To determine the technical writer assigned to the Stage/Group associated w ...@@ -6,6 +6,11 @@ info: To determine the technical writer assigned to the Stage/Group associated w
# Monitoring GitLab with Prometheus # Monitoring GitLab with Prometheus
[Prometheus](https://prometheus.io) is a powerful time-series monitoring service, providing a flexible
platform for monitoring GitLab and other software products.
GitLab provides out-of-the-box monitoring with Prometheus, providing easy
access to high quality time-series monitoring of GitLab services.
> **Notes:** > **Notes:**
> >
> - Prometheus and the various exporters listed in this page are bundled in the > - Prometheus and the various exporters listed in this page are bundled in the
...@@ -16,11 +21,6 @@ info: To determine the technical writer assigned to the Stage/Group associated w ...@@ -16,11 +21,6 @@ info: To determine the technical writer assigned to the Stage/Group associated w
> - Prometheus and its exporters don't authenticate users, and are available > - Prometheus and its exporters don't authenticate users, and are available
> to anyone who can access them. > to anyone who can access them.
[Prometheus](https://prometheus.io) is a powerful time-series monitoring service, providing a flexible
platform for monitoring GitLab and other software products.
GitLab provides out of the box monitoring with Prometheus, providing easy
access to high quality time-series monitoring of GitLab services.
## Overview ## Overview
Prometheus works by periodically connecting to data sources and collecting their Prometheus works by periodically connecting to data sources and collecting their
......
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