Datadog
Connecting Hawkeye to your Datadog 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 a Datadog API Key, APP ID, and Endpoint.
Step 1: Setup Datadog Integration
To retrieve these credentials, you’ll need to sign into your Datadog account. The following steps will guide you on how to retrieve your credentials.
Generate API Key.
-
Sign in to your Datadog account and navigate to the User profile.
-
From the drop-down menu that appears, under Organization Settings, select API Keys.
-
At the top-right corner of the page, click New Key to generate a new API Key.
-
Enter a name for your API Key in the input provided, and click create to continue.
-
Your new API Key has been created. Securely copy your key.
Generate Application Key.
-
Navigate to the User profile at the top-right corner of your Datadog dashboard.
-
From the drop-down menu that appears, under Organization Settings, select Application Keys.
-
At the top-right corner of the page, click New Key to generate a new Application Key.
-
Enter a name for your Application Key in the input provided, and click create to continue.
-
Click Edit to modify Application key access
Select the following permissions and click Save after selection, to save configuration- apm_read
- events_read
- metrics_read
- monitors_read
- logs_read_data
- logs_read_index_data
- logs_modify_indexes
- logs_read_workspaces
- logs_read_config
-
Safely copy your newly created Application key.
Obtain Endpoint
To obtain your Datadog Endpoint, copy the datadog url from your browser . E.g - https://app.datadoghq.com or https://us5.datadoghq.com/
Step 2: Add Datadog Connection to Hawkeye
Now that you have your API Key, APP ID, and Endpoint, proceed to the Hawkeye dashboard to complete the connection setup.
-
Navigate to the Connections Tab: In the Hawkeye dashboard, go to the Connections section and click on New Connection.
-
Select Datadog: From the list of available integrations, select Datadog.
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.
- API Key: Paste the API Key you generated from your Datadog account.
- APP ID: Enter the APPLICATION ID you generated from your Datadog account.
- Endpoint: Enter the DATADOG URL from your browser.
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 Datadog connection card displayed on your dashboard.
Step 3: Adding Datadog connection to Project
The following steps will guide you on how to add your Datadog connection to projects.
-
Navigate to the Projects Tab: In the Hawkeye dashboard, go to the Projects section and click on New project.
-
Enter project details: In the new project page, enter the following details:
- Project name: Give your project a descriptive name.
- Project description: Enter a detailed description for your project.
- Color: Select a color you want to identify your project with.
-
Select connection: From the list of connections that appear, select Datadog. In the Datadog accordion;
- Check the Create automated session box to enable automated session
- Select the Treshold for priority: High, High & Medium or All
Click Next when done.
-
Enter project Instructions: State precisely, the details of your project, and what resources you expect to monitor or ignore. (This helps Hawkeye understand the context of your project and to deliver better and more relevant analysis).
-
Navigate back to Project: After your Project has been created successfully, navigate back to Projects page.
-
View new project: In the list of Projects in the Projects page, you’ll find your newly created Project with Datadog connection.
-
Start Session: If project status is Ready, click to start a new session.
-
Enter a prompt: Select from the list of prompts on the session page or enter a prompt manually to start a session.
-
Your automated session is begins: This page displays your session analytics. You can click the input box below to ask further questions.