NomadBlacky / digdag-plugin-datadog

This Digdag plugin provides operators of Datadog.
MIT License
4 stars 1 forks source link
datadog digdag scala

digdag-plugin-datadog

This Digdag plugin provides operators of Datadog.

Scala Steward badge Latest release badge

Getting Started

1. Add Datadog API key and Application key

From environment variables

export DATADOG_API_KEY=<your api key>
export DATADOG_APP_KEY=<your application key>
export DATADOG_SITE=<your site> # Optional, "US" or "EU", default is "US"

From Digdag secrets

digdag secrets --local --set datadog.api_key=<your api key>
digdag secrets --local --set datadog.app_key=<your apppplication key>
digdag secrets --local --set datadog.site=<your site> # Optional, "US" or "EU", default is "US"

If keys are set to both, the plugin use keys from secrets.

2. Add the plugin setting to your workflow.

The latest release version is... Latest release badge

_export:
  plugin:
    dependencies:
      - dev.nomadblacky:digdag-plugin-datadog_2.13:<version>

Operators

There are full examples in the examples directory.

datadog_event>:

Send an event to Datadog with tags about task information.

+example:
  datadog_event>:
    title: "[TEST] digdag-plugin-datadog"
    text: "Digdag meets Datadog!!"

events.png

Options