Skip to content

Latest commit

 

History

History
410 lines (321 loc) · 25.4 KB

CHANGELOG.md

File metadata and controls

410 lines (321 loc) · 25.4 KB

Changes

2.6.0 / 2020-12-15

Details

https://github.com/jenkinsci/datadog-plugin/compare/datadog-2.5.0...datadog-2.6.0

Changes

  • [Added] Add ci.queue_time for pipeline/stage/job traces. See #159
  • [Added] Add ci.status for Jenkins Build/Pipelines. See #164
  • [Added] Add _dd.ci.level tag to Jenkins Build/Pipelines. See #165

2.5.0 / 2020-12-14

Details

https://github.com/jenkinsci/datadog-plugin/compare/datadog-2.4.0...datadog-2.5.0

Changes

  • [Added] Add stage breakdown to Jenkins Build/Pipelines traces.. See #158.
  • [Added] Add new plugin metrics . See #156. Thanks hoshsadiq.
  • [Added] Add git.default_branch tag to Jenkins Build/Pipeline traces. See #150.
  • [Added] Propagate CI parents tags in Jenkins Pipelines traces. See #149.
  • [Fixed] Fix stage.name propagation for all children jobs in Jenkins Pipelines. See #160.
  • [Fixed] Fix API key form validation. See #154.
  • [Fixed] Configure hostname in the tracer. See #151.
  • [Changed] Add dec and hex flavour to the environment variable trace IDs.. See #152.

2.4.0 / 2020-10-16

Details

https://github.com/jenkinsci/datadog-plugin/compare/datadog-2.3.0...datadog-2.4.0

Couple additions to better support stage-level metrics.

Changes

  • [Added] Support jenkins.job.stage_completed. See #145. Thanks patelronak.
  • [Added] Add a SKIPPED result status for stages. See #147.

2.3.0 / 2020-10-13

Details

https://github.com/jenkinsci/datadog-plugin/compare/datadog-2.2.0...datadog-2.3.0

Improvements to APM tracing and reduction in unnecessary BuildAborted events.

Changes

  • [Added] Add commit message, author, and committer info to traces. See #135.
  • [Added] Expose trace IDs as environment variables. See #134.
  • [Fixed] Avoid sending deleted events for already completed jobs. See #133.
  • [Fixed] Change 'CANCELLED' to 'CANCELED' as build result tag. (US spelling). See #132.

2.2.0 / 2020-09-17

Details

https://github.com/jenkinsci/datadog-plugin/compare/datadog-2.1.1...datadog-2.2.0

Fixes and improvements for APM Traces for Jenkins Builds/Pipelines.

Changes

  • [Added] Service name configurable for traces collection. See #117
  • [Added] Attach logs to APM traces. See #121
  • [Added] Add queue time metric in APM traces as tag. See #127
  • [Fixed] Update several tags for traces in Jenkins pipelines. See #119
  • [Fixed] Fix mismatching between StepData/Step in traces. See #123
  • [Fixed] Update the job name for APM traces. See #124
  • [Fixed] Fix hostname resolution for APM traces in pipeline nodes. See #125

2.1.1 / 2020-08-28

Details

https://github.com/jenkinsci/datadog-plugin/compare/datadog-2.1.0...datadog-2.1.1

Changes

  • [Fixed] Prevent exception if traces form data is not present. See #114
  • [Fixed] Fix NPE when traces collection is disabled. See #115

2.1.0 / 2020-08-26

Details

https://github.com/jenkinsci/datadog-plugin/compare/datadog-2.0.0...datadog-2.1.0

Sending APM traces from Jenkins Builds/Pipelines

Changes

  • [Added] Send APM traces. See #96.
  • [Added] Add additional tags to APM traces. See #111.
  • [Added] Add job name tag to pipelines in queues. See #101.

2.0.0 / 2020-08-18

Details

https://github.com/jenkinsci/datadog-plugin/compare/datadog-1.1.3...datadog-2.0.0

Adding three new pipeline metrics:

  • jenkins.job.pause_duration
  • jenkins.job.build_duration
  • jenkins.job.stage_duration

Forwarding logs from pipeline-based jobs is now possible.

Introducing a 'datadog' pipeline step to allow configuration from the Jenkinsfile.

Changes

  • [Added] Add a Datadog build step. See #88.
  • [Added] Use inclusive naming . See #94.
  • [Added] Add new queue metrics with job tags. See #73.
  • [Added] Add pipeline pause and build duration. See #77.
  • [Added] Collect and submit jenkins.job.stage_duration. See #76.
  • [Added] Add new node status metrics . See #71.
  • [Added] Add support for collection of pipeline logs. See #74.
  • [Added] Add workflow-job dependency. See #72.
  • [Fixed] Add result tag to stage metrics. See #92.
  • [Fixed] Keep backwards compatibility with old config naming. See #95.
  • [Fixed] Use more inclusive naming of config. See #93.
  • [Fixed] Don't fail validation if log connection is broken. See #82.
  • [Fixed] Re-order configuration loading logic. See #87.
  • [Fixed] Update config access through lookupSingleton method. See #85.
  • [Fixed] Fix buildable and pending metrics. See #83.
  • [Fixed] Update failedlastValidation if client passes validation . See #81.
  • [Fixed] Update pom for 1.x. See #80.
  • [Fixed] Add configuration validation in clients. See #59.
  • [Fixed] Enforce POST in form validation. See #61.
  • [Changed] Remove the result tag from the service check. See #103.

1.1.3 / 2020-07-23

Details

https://github.com/jenkinsci/datadog-plugin/compare/datadog-1.1.2...datadog-1.1.3

Changes

  • [Added] Use inclusive naming. See #94.
  • [Added] Add new queue metrics with job tags. See #73.
  • [Added] Add new node status metrics. See #71.
  • [Fixed] Keep backwards compatibility with old config naming. See #95.
  • [Fixed] Don't fail validation if log collection is not working. See #90.
  • [Fixed] Re-order configuration loading logic. See #87.
  • [Fixed] Fix buildable and pending metrics. See #83.
  • [Fixed] Update failedlastValidation if client passes validation. See #81.
  • [Fixed] Update pom for 1.x. See #80.
  • [Fixed] Add configuration validation in clients. See #59.
  • [Fixed] Enforce POST in form validation. See #61.

1.1.2 / 06-09-2020

Details

https://github.com/jenkinsci/datadog-plugin/compare/datadog-1.1.1...datadog-1.1.2

Changes

  • [IMPROVEMENT] Remove debugging log line #65
  • [IMPROVEMENT] Override getNormalLoggingLevel to set log Level.Fine #63 Thanks @jetersen
  • [IMPROVEMENT] Add minimum jenkins version #67

1.1.1 / 05-04-2020

Details

https://github.com/jenkinsci/datadog-plugin/compare/datadog-1.1.0...datadog-1.1.1

Changes

  • [IMPROVEMENT] Set hpi.compatibleSinceVersion to 1.0.0 #58

1.1.0 / 04-02-2020

Details

https://github.com/jenkinsci/datadog-plugin/compare/datadog-1.0.2...datadog-1.1.0

Changes

  • [IMPROVEMENT] Add log collection #44
  • [IMPROVEMENT] Add user_id tag #46
  • [IMPROVEMENT] Add branch and event_type tags #51
  • [BUGFIX] Handle mis-configured logger for log submission with the Datadog agent #47

1.0.2 / 01-27-2020

Details

https://github.com/jenkinsci/datadog-plugin/compare/datadog-1.0.1...datadog-1.0.2

Changes

  • [IMPROVEMENT] Exception Logging improvements #24
  • [BUGFIX] Fix missing tags on service checks submission #30

1.0.1 / 01-20-2020

Details

https://github.com/jenkinsci/datadog-plugin/compare/datadog-1.0.0...datadog-1.0.1

Changes

  • [BUGFIX] Bug fix when calling fetching build tags from job properties. See #17
  • [BUGFIX] Switch labels from entry to checkbox. See #7 Thanks @jsoref

1.0.0 / 01-07-2020

Details

https://github.com/jenkinsci/datadog-plugin/compare/datadog-0.7.1...datadog-1.0.0

[BACKWARDS INCOMPATIBILITY NOTES]

  • Instead of sending null as default value for some tags we now send unknown.
  • Event titles and messages now include additional information. Search queries and monitors may need updating.
  • Node tag is added by default.
  • Groovy scripts need to be updated (descriptor path changed). See Configure With A Groovy Script.
  • More configs are available (some got removed, some added). See Customization.
  • Whitelist and blacklist configs now support regex expressions.

Changes

  • [IMPROVEMENT][BREAKING CHANGE] Add more granular statuses (i.e. Not Built, etc) to onCompleted event. See 153 (Thanks @mbaitelman)
  • [IMPROVEMENT][BREAKING CHANGE] Allow multiple values for tags & Support prefix for White/Blacklist & set Node tag by default & Added API + Target URL validations. See 172
  • [IMPROVEMENT][BREAKING CHANGE] Improve plugin config. See 177
  • [IMPROVEMENT][BREAKING CHANGE] Add full support with DogStatsD client. See 183
  • [IMPROVEMENT] Add note about how to send data to EU 154
  • [IMPROVEMENT] Send delivery KPIs. See 132 & 156 (Thanks @pgarbe)
  • [IMPROVEMENT] Add thread safety to dogstatsd submissions, adds jenkins.job.started and jenkins.scm.checkout, and add resiliency around potential build failures. See 169
  • [IMPROVEMENT] Add 1 minute request timeout. See 174 (Thanks @Mischa-Alff)
  • [IMPROVEMENT] Add SVN tag support. See 175
  • [IMPROVEMENT] Collect env variables. See 176
  • [IMPROVEMENT] Add executor, node, and queue metrics. Also adds total number of jobs metric. See 180
  • [IMPROVEMENT] Add slave statistic metrics and more. Also adds security/SCM/system events. See 181
  • [IMPROVEMENT] Adding global tag file from workspace. See 182
  • [IMPROVEMENT] Allow configuring plugin using env vars. See 184
  • [OTHER][BREAKING CHANGE] Overall code refactor and cleanup. See 161
  • [OTHER] Lint project and remove unused code. See 160
  • [OTHER] Update license and Github files. See 187
  • [OTHER] Cleanup license and standard files. See 193

0.7.1 / 03-01-2019

Details

https://github.com/jenkinsci/datadog-plugin/compare/datadog-0.7.0...datadog-0.7.1

Changes

  • [BUGFIX][IMPROVEMENT] Run only if apiKey is configured, avoid NullPointerException's when getting apiKey See 145

0.7.0 / 02-25-2019

Details

https://github.com/jenkinsci/datadog-plugin/compare/datadog-0.6.5...datadog-0.7.0

Changes

  • [IMPROVEMENT][BREAKING CHANGE] Create events with alert_type: error only for jobs with Result.FAILURE. For other non-success results create events with alert_type: warning. This could potentially break Datadog monitors over Jenkins events. The event status maps to the updated alert_type modified in this PR. See 140 (Thanks @alanranciato)

0.6.5 / 11-06-2018

Details

https://github.com/jenkinsci/datadog-plugin/compare/datadog-0.6.4...datadog-0.6.5

Changes

  • [BUGFIX] Catch NPE when item.getInQueueSince() is unavailable. See 127
  • [OTHER] Update Datadog API endpoint. See 128

0.6.4 / 10-22-2018

Details

https://github.com/jenkinsci/datadog-plugin/compare/datadog-0.6.3...datadog-0.6.4

Changes

  • [BUGFIX] Set failed event to alert_type error See 124
  • [SECURITY] Upgrade httpclient to 4.5.6. See 125 and CVE-2015-5262

0.6.3 / 08-07-2018

Details

https://github.com/jenkinsci/datadog-plugin/compare/datadog-0.6.2...datadog-0.6.3

Changes

  • [IMPROVEMENT] Add support for global tags (including regexes). See 117 (Thanks @nmuesch)
  • [IMPROVEMENT] Add node tagging to build start events and job.waiting metric. See 119 (Thanks @keirbadger)

0.6.2 / 01-11-2018

Details

https://github.com/jenkinsci/datadog-plugin/compare/datadog-0.6.1...datadog-0.6.2

Changes

  • [BUGFIX] Don't sanitize whitelist and blacklist. See #109
  • [BUGFIX] Empty whitelist should permit all jobs. See #106 (Thanks @nikola-da)

0.6.1 / 08-10-2017

Details

https://github.com/jenkinsci/datadog-plugin/compare/datadog-0.5.7...datadog-0.6.1

Changes

  • [IMPROVEMENT] Add metric to measure build waiting time. See #81 (Thanks @bbeck)
  • [IMPROVEMENT] Modifies job tag to incorporate subfolder names. This is a potentially breaking change, spaces are now removed from job names. If you are currently monitoring jobs with spaces in the names the tags will no longer have an underscore in place of the space and the job name in events will no longer have a space in the name. See #68 and #77 (Thanks @witokondoria)
  • [BUGFIX] Fix duration of pipeline jobs. See #70 (Thanks @ulich, @kitamurakei)
  • [IMPROVEMENT] Add whitelist configuration option. This is a potentially breaking change. If you are currently using a blacklist, this may start working differently if you are also using subfolders from the Workflow plugin. The top level job name was being used as the job tag before, and now it is the top level job followed by the subfolder names, separated by a forward slash. So jobs that had subfolders before, but were blacklisted, are going to suddenly appear. See #78, #88 and #56 (Thanks @bhavanki)
  • [IMPROVEMENT] Add a metric to measure the size of the build queue. #82 (Thanks @bbeck)
  • [BUGFIX] Set tagNode to False by default. See #84
  • [IMPROVEMENT] Lower event priority for non-failure events. See #86

0.5.7 / 08-07-2017

Details

https://github.com/jenkinsci/datadog-plugin/compare/datadog-0.5.6...datadog-0.5.7

Changes

0.5.6 / 01-28-2017

Details

https://github.com/jenkinsci/datadog-plugin/compare/datadog-0.5.5...datadog-0.5.6

Changes

  • [BUGFIX] Fix memory leak, by stoping the StatsD client after every send. See #73 (Thanks @suxor42)
  • [BUGFIX] Include the result tag in the jenkins.job.completed metric. See #76

0.5.5 / 10-18-2016

Details

https://github.com/jenkinsci/datadog-plugin/compare/datadog-0.5.4...datadog-0.5.5

Changes

  • [IMPROVEMENT] Add setters to allow for use of Groovy scripts. See #64 (Thanks @jniesen)
  • [BUGFIX] Fix string handling by using utf-8. See #63 (Thanks @k_kitamura)
  • [BUGFIX] Fix service checks listing separate groups for each result. See #65

0.5.4 / 10-11-2016

Details

https://github.com/jenkinsci/datadog-plugin/compare/datadog-0.5.3...datadog-0.5.4

Changes

  • [BUGFIX] Fix tags generation

0.5.3 / 07-12-2016

Details

https://github.com/jenkinsci/datadog-plugin/compare/datadog-0.5.2...datadog-0.5.3

Changes

  • [BUGFIX] Reintroduce Jenkins source type for all events.

0.5.2 / 06-23-2016

Details

https://github.com/jenkinsci/datadog-plugin/compare/datadog-0.5.1...datadog-0.5.2

Changes

  • [BUGFIX] Catch and react to null property in DatadogUtilities.parseTagList(). See 84ec03

0.5.1 / 06-01-2016

Details

https://github.com/jenkinsci/datadog-plugin/compare/datadog-0.5.0...datadog-0.5.1

Changes

  • [BUGFIX] Fixed an unhandled NPE caused when DataDog Job Properties were not selected. See #44 (Thanks @MadsNielsen)

0.5.0 / 05-24-2016

Details

https://github.com/jenkinsci/datadog-plugin/compare/datadog-0.4.1...datadog-0.5.0

Changes

  • [IMPROVEMENT] Adding tags by job, via job configuration screen or via workspace text file. See #38 (Thanks @MadsNielsen)
  • [IMPROVEMENT] Count metric for completed jobs. See #39 (Thanks @MadsNielsen)

0.4.1 / 12-08-2015

Details

https://github.com/jenkinsci/datadog-plugin/compare/datadog-0.4.0...datadog-0.4.1

Changes

  • [BUGFIX] Fixed issue where apiKey was being returned to the configuration form as hash, causing a test of the key to fail. See ee95325
  • [BUGFIX] Removed a false error log, which was reporting successful POSTs as an error. See 094fbe8
  • [BUGFIX] Round job duration text to the nearest 2 decimals on event messages. See 7bdef98
  • [IMPROVEMENT] Reporting all events as Jenkins source type, enabling proper event display. See f00b261

0.4.0 / 12-04-2015

Details

https://github.com/jenkinsci/datadog-plugin/compare/datadog-0.3.0...datadog-0.4.0

Changes

  • [IMPROVEMENT] Add support for using a proxy server, utilizing Jenkins proxy settings. See #30 (Thanks @seattletechie)
  • [IMPROVEMENT] Replace PrintStream with java.util.Logger, to produce log verbosity control, allowing use of log groups and levels in Jenkins. See #29 (Thanks @dmabamboo)
  • [OTHER] Cleaned up blacklist code. See #28 (Thanks @dmabamboo)

0.3.0 / 10-19-2015

Details

https://github.com/jenkinsci/datadog-plugin/compare/datadog-0.2.1...datadog-0.3.0

Changes

  • [IMPROVEMENT] Added the ability to include optional preset tags. See ea17e44
  • [IMPROVEMENT] Added the ability to blacklist jobs from being reported to DataDog. See 9fde32a

0.2.1 / 09-25-2015

Details

https://github.com/jenkinsci/datadog-plugin/compare/datadog-build-reporter-0.2.0...datadog-0.2.1

Changes

  • [BUGFIX] Changed the plugin id from datadog-build-reporter to just datadog. See #18

0.2.0 / 09-22-2015

Details

https://github.com/jenkinsci/datadog-plugin/compare/datadog-build-reporter-0.1.3...datadog-build-reporter-0.2.0

Changes

  • [BUGFIX] Improved method of determining the Jenkins hostname. See #15
  • [IMPROVEMENT] Add node tag to events, metrics, and service checks. See #17
  • [OTHER] Remove build_number tag from metrics and service checks. See #17

0.1.3 / 09-04-2015

Details

https://github.com/jenkinsci/datadog-plugin/compare/datadog-build-reporter-0.1.2...datadog-build-reporter-0.1.3

Changes

  • [BUGFIX] Added a null safe getter function to prevent exceptions when attempting to call .toString() on a null object. See #9
  • [IMPROVEMENT] Events: Allow for event rollups on Datadog events page.
  • [OTHER] Modified build page link to point to the main build page, rather than to the console output.
  • [OTHER] Removed build_number tags from events.

0.1.2 / 09-01-2015

Details

Testing automatic release with new Jenkins job.

https://github.com/jenkinsci/datadog-plugin/compare/datadog-build-reporter-0.1.1...datadog-build-reporter-0.1.2

Changes

  • [IMPROVEMENT] Added CHANGELOG.md
  • [IMPROVEMENT] Added README.md

0.1.1 / 08-28-2015

Details

Worked out kinks in the release process.

https://github.com/jenkinsci/datadog-plugin/compare/datadog-build-reporter-0.1.0...datadog-build-reporter-0.1.1

Changes

  • [BUGFIX] Javadoc: Fixed javadoc errors in class DatadogBuildListener.
  • [BUGFIX] Javadoc: Fixed javadoc errors in method post.

0.1.0 / 08-28-2015

Details

Initial Release

Changes

  • [FEATURE] Events: Started build
  • [FEATURE] Events: Finished build
  • [FEATURE] Metrics: Build duration (jenkins.job.duration)
  • [FEATURE] Service Checks: Build status (jenkins.job.status)