3

The datadog plugin has been installed on Jenkins. Once installed the Datadog API key and hostname had to be entered in Jenkins. Both tests have been passed. However, when a new check has been added to Datadog querying for jenkins checks does not return any jenkins checks.

Desired situation

The aim is to monitor Jenkins builds using Datadog:

  • When did a build start
  • When did a build finish
  • Duration of builds (jenkins.job.duration)
  • Whether jobs have been completed (jenkins.job.completed)
  • Status of a build (jenkins.job.status)

Attempts

  • The datadog agent has been installed on Jenkins
  • The jenkins host is recognized by datadog
  • The datadog agent that resides on the jenkins is up according to datadog
  • According this documentation some files need to be added to datadog in order to enable jenkins monitoring in Datadog, but it is not possible to access the box as it is hosted by datadog itself.
  • According the integrations tab of datadog UI the Jenkins plugin has been installed and configured
| improve this question | | | | |
0

The tag (jenkins.job.status) should be added to every build in Jenkins in order to find the tag in datadog.

enter image description here

Once the build has been finished, the tag is added to datadog.

| improve this answer | | | | |
  • Where are we supposed to find these options? I was not able to find and extra step to add to builds that contains DataDog in its name. Also, the general configuration options for DataDog do not have any tagging options. Yes, the plugin is configured and using the test button reports suceess. – sorin Jun 30 '16 at 12:36
  • @sorin Have you installed the datadog plugin? – 030 Jun 30 '16 at 12:45
0

There are presently two methods of monitoring Jenkins with Datadog:

  1. Jenkins Plugin
  2. Deprecated Jenkins Agent Check

Configuring #1, the Jenkins Plugin, will provide what you need with all configuration being set in Jenkins proper. We discourage using #2 at this point and plan to remove it in a future release of Datadog.

| improve this answer | | | | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.