Skip to content

Gitlab

Connecting Hawkeye to your Gitlab account allows us to collect telemetry data, such as service performance, environment metrics, and application health.

This data enables real-time monitoring and insights into the performance of your applications running on Gitlab.

To integrate Gitlab with Hawkeye, you’ll need an Access Token from your Gitlab account.

Step 1: Generate Authentication Token from your Gitlab account.

  1. Login to your Gitlab account, navigate to your user profile at the top-left corner of your dashboard and from the drop-down menu, select Preferences. Gitlab user profile and preferences

    Fig.1 - Gitlab user profile and preferences

  2. On the Side navigation, above Preferences, select Access Tokens.

    Gitlab access tokens

    Fig.2 - Gitlab access tokens

  3. At the top-right corner of the Access Token page, click Add new token. Gitlab new token

    Fig.3 - Gitlab new token

  4. The a Name and Description for your token in the inputs provided. Token name and description

    Fig.4 - Token name and description

  5. Under Select scopes option, select read_api option. Access token scope selection

    Fig.5 - Access token scope selection

  6. Click Create personal access token button to continue Create personal access token

    Fig.6 - Create personal access token

  7. Safely copy your newly created Personal access token Copy personal access token

    Fig.7 - Copy personal access token

Step 2: Add Gitlab Connection to Hawkeye

  1. Navigate to the connections tab: On the Hawkeye dashboard, go to the Connections section and select New Connection. Add Gitlab connection to Hawkeye

    Fig.8 - Add Gitlab connection to Hawkeye

  2. Select Gitlab: From the list of available connections, choose Gitlab (Gitlab connection is currently not supported on Hawkeye). Select Gitlab

    Fig.9 - Select Gitlab

  3. Enter Credentials: Enter the required credentials (example: Access Token) on the Gitlab connection page.

  4. Save and Confirm: Verify the information and click Save to create the connection. If successful, you will see the connection card showing your Gitlab setup.