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.

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. Restrict access to this data source:
    You can enable this option if you only want certain users or groups to have access to the data source, or the permission to link it to new workspaces. See Access control for more information.

  5. Click Test and add to validate the data source configuration. SquaredUp will now attempt to connect to SquaredUp using the provided authentication method. If this process fails, see Testing and troubleshooting for assistance with the corresponding errors.

Next steps

Data streams

The following data streams are installed with this plugin.

Was this article helpful?


Have more questions or facing an issue?