-
Bug
-
Resolution: Fixed
-
Minor
-
None
Datadog plugin supports `options` block for pipeline jobs to add tags, as seen in https://github.com/jenkinsci/datadog-plugin/blob/master/README.md#pipeline-customization
After implementing it, I can see `jenkins.job.duration` and `jenkins.job.complete` by filtering a particular parameter, but `jenkins.job.started` is not showing up there.
I have the input params defined inside of the Jenkinsfile.
pipeline {
options {
datadog(collectLogs: true, tags: [
"force:${params.force}"
])
}
parameters {
booleanParam(
name: 'force',
description: 'OPTIONAL: Should this be a force sync?',
defaultValue: false
)
}
}