Datadog

Connects to the Datadog API and displays alerting modules.

Configuration


datadog:
  apiKey: "<yourapikey>"
  applicationKey: "<yourapplicationkey>"
  enabled: true
  monitors:
    tags:
      - "team:ops"
  position:
    top: 4
    left: 3
    height: 1
    width: 2

## Attributes

<table class="table">
    <thead>
        <tr>
            <th>Name</th>
            <th>Description</th>
            <th>Value</th>
        </tr>
    </thead>
      <tr>
    <td><code>apiKey</code></td>
    <td>Your <a href="https://docs.datadoghq.com/api/">DataDog API</a> token.</td>
    <td>
        Your API key <strong>or</strong> leave it empty to use the
        <code>WTF_DATADOG_API_KEY</code> environment
        variable.
    </td>
</tr>
  <tr>
    <td><code>applicationKey</code></td>
    <td>Your DataDog application key</td>
    <td>Leave this empty to use the <code>WTF_DATADOG_APPLICATION_KEY</code> environment variable.</td>
</tr>
  <tr>
    <td><code>border</code></td>
    <td><i>Optional</i> Whether or not to draw this widget with a border. Default: <code>true</code>.</td>
    <td>true, false</td>
</tr>
  <tr>
    <td><code>enabled</code></td>
    <td><i>Optional</i> Whether or not this module is executed and if its data displayed onscreen. Default:
        <code>false</code>.</td>
    <td>true, false</td>
</tr>
  <tr>
    <td><code>monitors</code></td>
    <td>Configuration for the monitors functionality.</td>
    <td></td>
</tr>
  <tr>
    <td><code>position</code></td>
    <td>Defines where in the grid this module's widget will be displayed.</td>
    <td></td>
</tr>
  <tr>
    <td><code>refreshInterval</code></td>
    <td><i>Optional</i> How often, in seconds, this module will update its data. Default: <code>300</code>.</td>
    <td>Any positive integer</td>
</tr>
  <tr>
    <td><code>tags</code></td>
    <td>List of tags you want to query monitors by.</td>
    <td></td>
</tr>
  <tr>
    <td><code>title</code></td>
    <td><i>Optional</i> The title to display in the widget's onscreen box.</td>
    <td></td>
</tr>

</table>

## Source Code

https://github.com/wtfutil/wtf/tree/master/modules/datadog/