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.
-
Log in to Grafana Account: Access your Grafana endpoint by logging in with your credentials.
-
Navigate to Users and Access: On the sidebar menu, navigate to Users and access under Administration tab, and click on Service account card.
-
Click Add Service Account: At the top-right corner of the Service Accounts page, click on the Add Service Accounts button.
-
Enter a display name: In the input box provided, enter a display name and click Create
-
Click Add Service Account Token: At the bottom-right corner of the new Service Accounts page, click Add service accounts token
-
Enter token display name: In the input box provided, enter a display name for your token, and click Generate token.
-
Copy token: Your new Service account token has been created, copy and safe your token securely.
Step 2: Add Grafana Connection to Hawkeye
-
Navigate to the Connections Tab: In the Hawkeye dashboard, go to the Connections section and click on New Connection.
-
Select Grafana: From the list of available integrations, select Grafana.
Then, click Next at the top right corner.
-
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.
Click Save to complete the setup.
-
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.