digdag-plugin-datadog


License

License

MIT
Categories

Categories

Data
GroupId

GroupId

dev.nomadblacky
ArtifactId

ArtifactId

digdag-plugin-datadog_2.13
Last Version

Last Version

0.3.1
Release Date

Release Date

Type

Type

jar
Description

Description

digdag-plugin-datadog
digdag-plugin-datadog
Project URL

Project URL

https://github.com/NomadBlacky/digdag-plugin-datadog
Project Organization

Project Organization

NomadBlacky
Source Code Management

Source Code Management

https://github.com/NomadBlacky/digdag-plugin-datadog

Download digdag-plugin-datadog_2.13

How to add to project

<!-- https://jarcasting.com/artifacts/dev.nomadblacky/digdag-plugin-datadog_2.13/ -->
<dependency>
    <groupId>dev.nomadblacky</groupId>
    <artifactId>digdag-plugin-datadog_2.13</artifactId>
    <version>0.3.1</version>
</dependency>
// https://jarcasting.com/artifacts/dev.nomadblacky/digdag-plugin-datadog_2.13/
implementation 'dev.nomadblacky:digdag-plugin-datadog_2.13:0.3.1'
// https://jarcasting.com/artifacts/dev.nomadblacky/digdag-plugin-datadog_2.13/
implementation ("dev.nomadblacky:digdag-plugin-datadog_2.13:0.3.1")
'dev.nomadblacky:digdag-plugin-datadog_2.13:jar:0.3.1'
<dependency org="dev.nomadblacky" name="digdag-plugin-datadog_2.13" rev="0.3.1">
  <artifact name="digdag-plugin-datadog_2.13" type="jar" />
</dependency>
@Grapes(
@Grab(group='dev.nomadblacky', module='digdag-plugin-datadog_2.13', version='0.3.1')
)
libraryDependencies += "dev.nomadblacky" % "digdag-plugin-datadog_2.13" % "0.3.1"
[dev.nomadblacky/digdag-plugin-datadog_2.13 "0.3.1"]

Dependencies

compile (7)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.13.1
org.slf4j : slf4j-api jar 1.7.29
javax.inject : javax.inject jar 1
com.google.guava : guava jar 27.1-jre
dev.nomadblacky : scaladog_2.13 jar 0.5.0
com.typesafe.scala-logging : scala-logging_2.13 jar 3.9.2
com.beachape : enumeratum_2.13 jar 1.5.15

provided (3)

Group / Artifact Type Version
io.digdag : digdag-client jar 0.9.41
io.digdag : digdag-spi jar 0.9.41
io.digdag : digdag-plugin-utils jar 0.9.41

test (3)

Group / Artifact Type Version
org.scalatest : scalatest_2.13 jar 3.1.1
ch.qos.logback : logback-classic jar 1.2.3
org.mockito : mockito-scala-scalatest_2.13 jar 1.10.4

Project Modules

There are no modules declared in this project.

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

  • 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, and success.
  • priority: [optional, enum, default=normal] The priority of the event: normal or low.

Versions

Version
0.3.1
0.3.0
0.2.0
0.1.0