This Digdag plugin provides operators of Datadog.
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"
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.
The latest release version is...
_export:
plugin:
dependencies:
- dev.nomadblacky:digdag-plugin-datadog_2.13:<version>
There are full examples in the examples
directory.
Send an event to Datadog with tags about task information.
+example:
datadog_event>:
title: "[TEST] digdag-plugin-datadog"
text: "Digdag meets Datadog!!"
- title: [required, string] The event title. Limited to 100 characters.
- text: [required, string] The body of the event. Limited to 4000 characters. The text supports markdown.
- tags: [optional, array of string] A list of tags to apply to the event.
- alert_type: [optional, enum, default=
info
] If it’s an alert event, set its type between:error
,warning
,info
, andsuccess
. - priority: [optional, enum, default=
normal
] The priority of the event:normal
orlow
.