Skip to content

Grafana

Connecting Hawkeye to your Grafana account allows us to collect application and infrastructure telemetry, which includes metrics, traces, and logs. These telemetry data enable real-time monitoring and alerting through the Hawkeye dashboard.

To ensure an easy connection with Hawkeye, you will authenticate using your Grafana Service Account Token.

Step 1: Generate your Service Account Token from Grafana.

  1. Log in to Grafana Account: Access your Grafana endpoint by logging in with your credentials.

  2. Navigate to Users and Access: On the sidebar menu, navigate to Users and access under Administration tab, and click on Service account card.

    grafana-users-and-access

  3. Click Add Service Account: At the top-right corner of the Service Accounts page, click on the Add Service Accounts button.

    grafana-service-account

  4. Enter a display name: In the input box provided, enter a display name and click Create

    grafana-sa-disname

  5. Click Add Service Account Token: At the bottom-right corner of the new Service Accounts page, click Add service accounts token grafana-account-token

  6. Enter token display name: In the input box provided, enter a display name for your token, and click Generate token.

    grafana-at-disname

  7. Copy token: Your new Service account token has been created, copy and safe your token securely.

    grafana-copy-at

Step 2: Add Grafana Connection to Hawkeye

  1. Navigate to the Connections Tab: In the Hawkeye dashboard, go to the Connections section and click on New Connection.

    grafana-new-connection

  2. Select Grafana: From the list of available integrations, select Grafana.

    grafana-select

    Then, click Next at the top right corner.

  3. Enter Credentials: Provide the following credentials:

    • Name: Give your connection a descriptive name.
    • Description: Optionally, add a description for the integration.
    • Endpoint: Enter your Grafana instance from your browser.
    • Token: Enter the service account token you generated from your Grafana account.

    grafana-details

    Click Save to complete the setup.

  4. Verify connection: Once the connection is successfully established, navigate to the connections section in Hawkeye. You should see the Grafana connection card displayed on your dashboard.

    grafana-connection-created