Datadog
Use the Datadog integration to ingest alerts raised by the monitoring system and respond to them automatically.

Overview

Datadog gives you the ability to create monitors that actively check metrics, integration availability, network endpoints, and more.
Using the Fylamynt | Datadog integration you can see the list of available monitors and pick the monitor to trigger a workflow when it goes into the state of Alert.

Use Cases

The integration between Fylamynt and Datadog lets you:
    Trigger a workflow in Fylamynt, when a specific DataDog monitor goes into the state of ALERT.

Configure Datadog in Fylamynt

    Navigate to Settings > Integrations > Datadog.
    Click Add integration to create and configure a new integration instance.
Details needed to set up Datadog instance in Fylamynt:
Parameter
Description
Required
Datadog API Key
API key for your Datadog instance
True
Datadog Application Key
Application key for your Datadog instance
True
External ID
Identifier that identifies the tenant, to be added into HTTP headers by Datadog
True
Webhook API Key Name
Fylamynt API Key Name
True
Datadog Webhook Name
Fylamynt webhook name to be used by Datadog service
True
Datadog Webhook URL
Fylamynt webhook URL to be used by Datadog service
True
Follow the steps listed below in your Datadog Account and get the desired parameters to enter in Fylamynt.
    Login to your Datadog Account and go to Integrations page.
    In the "APIs tab" under API Keys create a new API Key or Use an existing one. Enter the API Key in the Authorize Fylamynt tab --> Datadog API Key field on the right.
    Go to the Team page.
    In the "Integrations tab" search for the Installed "Webhook". Click + New button to create a new Webhook.
    Complete “New Webhook” panel using the following details.
      Copy Datadog Webhook Name from Authorize Fylamynt as the Name of the New Webhook
      Copy Datadog Webhook URL from Authorize Fylamynt as the URL of the New Webhook
      Add "alert_id": "$ALERT_ID" in the JSON object for Payload. Feel free to add or remove any other fields.
      Check the Custom Headers box in Datadog panel. Then, populate the JSON below and enter it there.
      Click Save to complete Webhook creation.
1
{
2
"x-api-key": "<fylamynt-api-key>",
3
"fylamynt-external-id": "<fylamynt-external-id>",
4
"Content-Type": "application/json"
5
}
6
7
1. fylamynt-api-key
8
9
Under Authorize Fylamynt, choose one of the Webhook API Key Name from the dropdown, and the corresponding Webhook API Key Value should be shown. If no options are available for the Webhook API Key Name, first go to Settings --> API Keys --> Manage Keys to Create a New API Key. Then, copy-paste the Webhook API Key Value as Value.
10
11
2. fylamynt-external-id
12
13
From Authorize Fylamynt, copy-paste the External ID as Value.
Copied!
    Click on the Authorize button to complete the integration between Fylamynt and Datadog

Integration Actions

You can add these actions in Fylamynt workflow builder, as part of your workflow.

1. Datadog Alert

Integration node to trigger Workflow with a selected Datadog monitor.

Input

Parameter Name
Description
Required
Select Monitor
Select a Datadog monitor to fetch alerts in Fylamynt
True

Output

The output fields are dynamically generated depending on the fields defined in the “Payload” section of the Datadog webhook.

Action Example

2. Datadog Get API Test Results

Get the last 50 test results summaries for all Synthetics API tests.

Input

Parameter Name
Description
Required
Start Timestamp
Date-time from which to start querying results
False
End Timestamp
Date-time up to which to query results
False

Output

Parameter Name
Type
Description
result
Object
A list of test result objects in JSON

Action Example

3. Datadog Search Monitors

Perform a search query and return matching monitors

Input

Parameter Name
Description
Required
Query
The query to be executed. Query documentation: https://docs.datadoghq.com/monitors/manage_monitor/#find-the-monitors
True
Page Index
Page to start paginating from
False
Monitors Per Page
Number of monitors to return per page
False
Sort Order
String for sort order, composed of field and sort order separate by a comma, e.g. name,asc. Supported sort directions: asc, desc. Supported fields: name, status, tags
False

Output

Parameter Name
Type
Description
result
Object
A list of monitors in JSON

Action Example

Last modified 10d ago