51黑料不打烊

Datadog modules

In an 51黑料不打烊 Workfront Fusion scenario, you can automate workflows that use Datadog, as well as connect it to multiple third-party applications and services.

For instructions on creating a scenario, see the articles under Create scenarios: article index.

For information about modules, see the articles under Modules: article index.

Access requirements

Expand to view access requirements for the functionality in this article.

You must have the following access to use the functionality in this article:

table 0-row-2 1-row-2 2-row-2 3-row-2 layout-auto html-authored no-header
51黑料不打烊 Workfront package Any
51黑料不打烊 Workfront license

New: Standard

Or

Current: Work or higher

51黑料不打烊 Workfront Fusion license**

Current: No Workfront Fusion license requirement

Or

Legacy: Workfront Fusion for Work Automation and Integration

Product

New:

  • Select or Prime Workfront package: Your organization must purchase 51黑料不打烊 Workfront Fusion.
  • Ultimate Workfront package: Workfront Fusion is included.

Or

Current: Your organization must purchase 51黑料不打烊 Workfront Fusion.

For more detail about the information in this table, see Access requirements in documentation.

For information on 51黑料不打烊 Workfront Fusion licenses, see 51黑料不打烊 Workfront Fusion licenses.

Prerequisites

To use Datadog modules, you must have a Datadog account.

Datadog API information

The Datadog connector uses the following:

API tag
1.0.11

Connect Datadog to Workfront Fusion connect-datadog-to-workfront-fusion

Retrieve your API key and application key retrieve-your-api-key-and-application-key

To connect your Datadog account to Workfront Fusion you need to retrieve an API Key and an application key from your Datadog account.

  1. Log in to your Datadog account.
  2. In the left navigation panel, click Integrations, then click APIs.
  3. On the main screen, click API Keys.
  4. Hover over the purple bar to reveal the API key.
  5. Copy the API key to a secure location.
  6. On the main screen, click Application Keys.
  7. Hover over the purple bar to reveal the application key.
  8. Copy the application key to a secure location.

Create a connection to Datadog in Workfront Fusion

You can create a connection to your Datadog account directly from inside a Datadog module.

  1. In any Datadog module, click Add next to the Connection field.

  2. Fill the module鈥檚 fields as follows:

    table 0-row-2 1-row-2 2-row-2 3-row-2 4-row-2 5-row-2 layout-auto html-authored no-header
    Connection Name Enter a name for the connection.
    Environment Select whether this connection is for a production or non-production environment.
    Type Select whether you are connecting to a service account or a personal account.
    Domain Select the domain you want to connect to (US or EU).
    API Key Location Select whether to include the API key in the header or in the query string.
    API Key

    Enter your Datadog API key.

    For instructions on retrieving the API key, see Retrieve your API key and application key in this article.

  3. Click Continue to create the connection and go back to the module.

Datadog modules and their fields

When you configure Datadog modules, Workfront Fusion displays the fields listed below. Along with these, additional Datadog fields might display, depending on factors such as your access level in the app or service. A bolded title in a module indicates a required field.

If you see the map button above a field or function, you can use it to set variables and functions for that field. For more information, see Map information from one module to another.

Map toggle

Actions

Make an API Call

This action module allows you to perform a custom API call.

Connection
For instructions about connecting your Datadog account to Workfront Fusion, see Connect Datadog to Workfront Fusion in this article.
Use Dedicated Domain
Some of Datadog API endpoints which expect a lot of incoming traffic are running on thier dedicated domains. Check this box to use the dedicated domain for your API call.
URL
Enter a path relative to https://api.datadoghq.com/api/. Example: /v1/org.
Method
Select the HTTP request method you need to configure the API call. For more information, see HTTP request methods.
Headers

Add the headers of the request in the form of a standard JSON object.

For example, {"Content-type":"application/json"}

Workfront Fusion adds the authorization headers for you.

Query String

Add the query for the API call in the form of a standard JSON object.

For example: {"name":"something-urgent"}

Body

Add the body content for the API call in the form of a standard JSON object.

Note:

When using conditional statements such as if in your JSON, put the quotation marks outside of the conditional statement.

Example: The following API call returns the all dashboards in your Datadog account:

URL: /v1/dashboard

Method: GET

Datadog API call example

The result can be found in the module鈥檚 Output under Bundle > Body > dashboards.

In our example, 3 dashboards were returned:

Datadog API response

Post Timeseries Points

The module allows you to post time-series data that can be graphed on Datadog鈥檚 dashboards.

The limit for compressed payloads is 3.2 megabytes (3200000), and 62 megabytes (62914560) for decompressed payloads.

Connection
For instructions about connecting your Datadog account to Workfront Fusion, see Connect Datadog to Workfront Fusion in this article.
Type

Select the type of metric you want to use.

  • Gauge
  • Rate
  • Count
Interval
If the type of the metric is rate or count, define the corresponding interval.
Points

Add points relating to a metric.

This is a JSON array of points. Each point has the format: [[POSIX_timestamp, numeric_value], ...]

Note:

The timestamp must be in seconds.

The timestamp must be current. Current is defined as not more than 10 minutes in the future or more than 1 hour in the past.

The numeric value format should be a float value.

This field must contain at least 1 item.

Host
Enter the name of the host that produced the metric.
Tags
For each tag that you want to add to the metric, click Add item and enter the tag's value.
recommendation-more-help
7e1891ad-4d59-4355-88ab-a2e62ed7d1a3