GitLab plugin

For more information about what this plugin does and the data streams it retrieves, see:

GitLab

Monitor the CI/CD metrics from your GitLab environment.

How to add the data source

To add a data source click on the + next to Data Sources on the left-hand menu in SquaredUp. Search for the data source and click on it to open the Configure data source page.

Before you start

Create a GitLab API Token

  1. Access a GitLab account with access to the target projects.
  2. Navigate to https://gitlab.com/-/profile/personal_access_tokens.
  3. Ensure the access is at least read_api and read_repository. Please note, read_user and read_registry are optional.
  4. Click the Create personal access token button.
  5. Copy the provided API token.

Configuring the data source

  1. Display Name:
    Enter a name for your data source. This helps you to identify this data source in the list of your data sources.

  2. Instance URL:
    Enter a URL if you wish to use your own instance of GitLab.

    If you leave this section blank, https://gitlab.com will be used by default.

  3. API Token:
    Paste the API token in here.
  4. Optionally, select whether you would like to restrict access to this data source instance. By default, restricted access is set to off.

  5. Click Test and add to validate the data source configuration.

    You can also add a data source from Settings > Data Sources > Add data source, but sample dashboards are not added when using this method.

Using the GitLab data streams

Data streams

The following data streams are installed with this plugin.

Was this article helpful?


Have more questions or facing an issue?