datadog_agent
Version information
This version is compatible with:
- Puppet Enterprise >=2016.4.x
- Puppet >=4.6.0 <7.0.0
- RedHat,CentOS,Scientific,Fedora,Debian,Ubuntu
Start using this module
Add this module to your Puppetfile:
mod 'datadog-datadog_agent', '2.7.0'
Learn more about managing modules with a PuppetfileDocumentation
Puppet & Datadog
Description
A module to:
Releases
There are currently two actively maintained versions for the Puppet module. For users on Puppet >= 4.6.x, and possibly some older 4.x puppets, it is recommended to use version 2.0+ of the module.
For users running on older versions of Puppet the legacy module, series 1.x, should support most use-cases.
The majority of users should be able to use the newer module as many of the Puppet versions supported in the 1.x series of the module have been EOL'd.
Some features might be back-ported if there's enough demand, but in general only maintenance is performed on the 1.x series of the module. Future feature development is performed on the newer Puppet module.
Version 2.x
Requirements
Puppet >=4.6.x and <=5.3.x (may work with newer versions, but is untested). For detailed information on compatibility, check the module page on the Puppet forge.
Installation
Install datadog_agent
as a module in your Puppet master's module path.
puppet module install datadog-datadog_agent
Note: For CentOS versions <7.0, specify the service provider as upstart
:
class{ 'datadog_agent':
service_provider => 'upstart'
}
Upgrade from the previous module version 1.x
Most of the manifests are backward compatible. However, there are important changes to the main manifest:
- By default Datadog Agent 6.x is installed.
- To use Agent 5.x in your nodes set the
agent5_enable
boolean parameter toTrue
.
- To use Agent 5.x in your nodes set the
- Enhanced support for our APM Tracing Agent.
- Enhanced support for our Process Agent.
- Enhanced support for additional
agent6
options. - APM Tracing and Process Agents are now opt-in options and are disabled by default.
- The main
datadog_agent
class has parameters to enable and configure the Agents easily.
- The main
- Increased granularity for apt/yum repo configuration.
- New location for Datadog Puppet reporting configuration.
Version 1.x
Requirements
Puppet >=2.7.x and <=4.2.x (may work with newer versions, but is untested). For detailed information on compatibility, check the module page on the Puppet forge.
Installation
Install datadog_agent
as a module in your Puppet master's module path.
puppet module install datadog-datadog_agent --version 1.12.1
Upgrade from previous git manual install 0.x (unreleased)
You can keep using the datadog
module but it becomes legacy with the release of datadog_agent
1.0.0. Upgrade to get new features, and use the Puppet forge system which is easier for maintenance.
- Delete the Datadog module
rm -r /etc/puppet/modules/datadog
- Install the new module from the Puppet forge
puppet module install datadog-datadog_agent
- Update your manifests with the new module class, basically replace
datadog
bydatadog_agent
Usage
The following instructions are for both Puppet module versions (1.x, 2.x).
Note: 2.x installs Agent v6 by default, whereas 1.x defaults to Agent v5.
Once the datadog_agent
module is installed on your puppetserver
/puppetmaster
, follow these configuration steps:
-
Update the default class parameters with your API key.
-
Specify the module on any nodes you wish to install the DataDog Agent.
include datadog_agent
Or assign this module using the Puppet style Parameterized class:
class { 'datadog_agent': api_key => "<YOUR_DD_API_KEY>", }
On your
puppetserver
, enable reporting:class { 'datadog_agent': api_key => "<YOUR_DD_API_KEY>", puppet_run_reports => true, }
- To support reporting, your Puppet master needs the dogapi gem installed. To install, either run the Puppet Agent on your master with this configuration or install it manually with
gem
. You might need to restart yourpuppetserver
service for the freshly installeddogapi-rb
gem to be picked up. - On version 2.x,
puppetserver_gem
is defined as a module dependency, it is installed automatically when the module is installed. - On version 1.x:
- If you are on Puppet Enterprise or POSS (ie. >=3.7.0), there is a soft dependency for reporting on the
puppetserver_gem
module. Install withpuppet module install puppetlabs-puppetserver_gem
- installing manually withgem
does not work. - You may install
dogapi-rb
withgem
as the system-level Ruby is used. - The gem provider is configurable by setting it to
puppetserver_gem
(set by default on PE/POSS (>=3.7.0)) orgem
if on older versions of Puppet.- For users running puppet in standalone/masterless mode you will need to set the
puppet_gem_provider
topuppet_gem
(orgem
depending on versions) to ensure thedogapi-rb
is available.
- For users running puppet in standalone/masterless mode you will need to set the
- If you are on Puppet Enterprise or POSS (ie. >=3.7.0), there is a soft dependency for reporting on the
- To support reporting, your Puppet master needs the dogapi gem installed. To install, either run the Puppet Agent on your master with this configuration or install it manually with
-
Include any other integrations you want the agent to use, for example:
include 'datadog_agent::integrations::mongo'
Some integrations do not come as a dedicated class. To install one of them, add its configuration in the manifest. Below is an example for the
ntp
check:class { 'datadog_agent': api_key => "<YOUR_DD_API_KEY>", integrations => { "ntp" => { init_config => {}, instances => [{ offset_threshold => 30, }], }, }, }
Installing and pinning specific versions of integrations
You can specify a given integration and version number to be installed by using datadog_agent::install_integration
. This will use the datadog-agent integration
command to ensure a specific integration is installed or uninstalled.
datadog_agent::install_integration { "mongo-1.9":
ensure => present,
integration_name => 'datadog-mongo',
version => '1.9.0',
}
The field ensure
can be either present
(default) or absent
, the later being useful to remove a previously pinned version of an integration.
Reporting
Ensure dogapi-rb
is available on your system as explained earlier.
To enable reporting of changes to the Datadog timeline, enable the report processor on your Puppet master, and enable reporting for your clients. The clients send a run report after each check-in back to the master.
Set the puppet_run_reports
option to true in the node configuration manifest for your master:
class { "datadog-agent":
api_key => "<YOUR_DD_API_KEY>",
puppet_run_reports => true
# ...
}
On Puppet >=4.x the location for your configuration file is /etc/puppetlabs/puppet/puppet.conf
.
On older Puppets, the location is /etc/puppet/puppet.conf
.
Add these configuration options in the pertinent location:
[main]
# No need to modify this section
# ...
[master]
# Enable reporting to Datadog
reports=datadog_reports
# If you use other reports already, just add datadog_reports at the end
# reports=store,log,datadog_reports
# ...
[agent]
# ...
pluginsync=true
report=true
On all of your Puppet client nodes add the following in the same location:
[agent]
# ...
report=true
If you see the following, ensure reports=datadog_reports
is defined in [master], not [main].
err: Could not send report:
Error 400 on SERVER: Could not autoload datadog_reports:
Class Datadog_reports is already defined in Puppet::Reports
Step-by-step
This is the minimal set of modifications to get started. These files assume Puppet 4.5.x or higher.
/etc/puppetlabs/puppet/puppet.conf
[master]
report = true
reports = datadog_reports
pluginsync = true
[agent]
report = true
pluginsync = true
Note: This may be file /etc/puppet/puppet/puppet.conf
on older puppets
/etc/puppetlabs/code/environments/production/manifests/10_nodes.pp
node "default" {
class { "datadog_agent":
api_key => "<YOUR_DD_API_KEY>",
}
}
node "puppetmaster" {
class { "datadog_agent":
api_key => "<YOUR_DD_API_KEY>",
puppet_run_reports => true
}
}
Note: This may be file /etc/puppet/manifests/nodes.pp
on older puppets
Run Puppet Agent
sudo systemctl /etc/init.d/puppetmaster restart
sudo puppet agent --onetime --no-daemonize --no-splay --verbose
Example response:
info: Retrieving plugin
info: Caching catalog for alq-linux.dev.datadoghq.com
info: Applying configuration version '1333470114'
notice: Finished catalog run in 0.81 seconds
Verify on Datadog
-
Search for
puppet
on the Integrations page. The Puppet integration tile displays the install status. -
Search for
sources:puppet
in the Event Stream to see your Puppet events.
Masterless Puppet
To use this specific setup, see https://gist.github.com/LeoCavaille/cd412c7a9ff5caec462f. This applies to older puppets and is untested on >=4.x Puppet versions.
Client Settings
Tagging client nodes
The Datadog Agent configuration file is recreated from the template every Puppet run. If you need to tag your nodes, add an array entry in Hiera:
datadog_agent::tags:
- 'keyname:value'
- 'anotherkey:%{factname}'
These variables can be set in the datadog_agent
class to control settings in the Agent:
2.x
variable name | description |
---|---|
collect_ec2_tags |
Set this to yes to have an instance's custom EC2 tags used as agent tags. |
collect_instance_metadata |
Set this to yes to have an instance's EC2 metadata used as agent tags. |
datadog_site |
The Datadog site to report to. Defaults to datadoghq.com , set to datadoghq.eu to report to the EU site. Supported since v2.4.0 of the module, and only with Agent v6+ |
dd_url |
The Datadog intake server URL. You are unlikely to need to change this. Overrides datadog_site |
host |
Overrides the node's host name. |
local_tags |
An array of <KEY:VALUE> strings that are set as tags for the node. |
non_local_traffic |
Set this to allow other nodes to relay their traffic through this one. |
agent5_enable |
A boolean to install Agent v5 and override the Agent v6 default. |
apm_enabled |
A boolean to enable the APM Agent (defaults to false). |
apm_analyzed_spans |
A hash to add APM events for the Trace Search & Analytics tool. (defaults to undef). For example: { 'app\|rails.request' => 1, 'service-name\|operation-name' => 0.8 } |
process_enabled |
A boolean to enable the process agent (defaults to false). |
scrub_args |
A boolean to enable the process cmdline scrubbing (defaults to true). |
custom_sensitive_words |
An array to add more words beyond the default ones used by the scrubbing feature (defaults to []). |
logs_enabled |
A boolean to enable the logs agent (defaults to false). |
container_collect_all |
A boolean to enable logs collection for all containers. |
agent6_extra_options |
A hash to provide additional configuration options to Agent v6. |
hostname_extraction_regex |
A regex used to extract the hostname captured group to report the run in Datadog instead of reporting the Puppet nodename, for example:'^(?<hostname>.*\.datadoghq\.com)(\.i-\w{8}\..*)?$' |
Notes:
agent6_extra_options
is used to provide a fine grain control of additional Agent v6 config options. A deep merge is performed that may override options provided in thedatadog_agent
class parameters.hostname_extraction_regex
is useful when the Puppet module and the Datadog Agent are reporting different host names for the same host in the infrastructure list.
1.x
variable name | description |
---|---|
collect_ec2_tags |
Set this to yes to have an instance's custom EC2 tags used as agent tags. |
collect_instance_metadata |
Set this to yes to have an instance's EC2 metadata used as agent tags. |
dd_url |
The Datadog intake server URL. You are unlikely to need to change this. |
host |
Overrides the node's host name. |
local_tags |
An array of <KEY:VALUE> strings that are set as tags for the node. |
non_local_traffic |
Set this to allow other nodes to relay their traffic through this one. |
agent6_enable |
A boolean to install Agent v6 and override the Agent v5 default. |
Proxy Settings
To connect to the Internet through a proxy, set proxy_host
, proxy_port
, proxy_user
and proxy_password
.
Module Development and Testing
Clone the repo
git clone git@github.com:DataDog/puppet-datadog-agent.git
cd puppet-datadog-agent
Install dependencies
bundle install
rake lint # Check Puppet manifests with puppet-lint / Run puppet-lint
rake spec # Run spec tests in a clean fixtures directory
rake syntax # Syntax check Puppet manifests and templates
rake syntax:manifests # Syntax check Puppet manifests
rake syntax:templates # Syntax check Puppet templates
pip install pre-commit
pre-commit install
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Changes
2.7.0 / 2019-07-11
Notes
- [FEATURE] Support puppet 6. See #537
- [FEATURE] Added a define that wraps the agent integration command. See #534
- [BUGFIX] Add whitespace surpression to redisdb.yaml.erb to ensure a valid yaml. See #533 (Thanks again @Aramack)
- [BUGFIX] Do not include additional_checksd if not set. See #545 (Thanks @turnopil)
- [IMPROVEMENT] Raise if hostname_extraction_regex doesn't capture hostname. See #544
2.6.0 / 2019-06-04
Notes
- [FEATURE] AcitveMQ_XML: added new integration. See #521
- [FEATURE] Custom Integration: support logs collection. See #513 (Thanks @zickzackv)
- [FEATURE] Nginx: support logs collection. See #519 (Thanks @jadams-av)
- [FEATURE] Redis: adding multi-instance support. See #520
- [FEATURE] HTTP check: add support for
method
,data
configuration. See #515 (Thanks @Aramack) - [FEATURE] HTTP check: add reverse content-match support. See #524 (Thanks @dorg-kanderson)
- [BUGFIX] Agent 6: track integration configuration directories - fixes
conf_dir_purge
. See #525 (Thanks @Aramack) - [BUGFIX] Agent 6: fixes
additional_checksd
not appearing in agent config. See #513 (Thanks @gotyaio) - [BUGFIX] Postgres: allow setting password in Hiera. See #514 (Thanks @cabrinha)
- [BUGFIX] Redis: fix trying to call
empty?
on an integer on template. See #527 - [SANITY] Module: bring up concat dependency upper bound to <6.0.0. See #516 (Thanks @siebrand)
- [SANITY] Module: bring up stdlib dependency upper bound to <6.0.0. See #513 (Thanks @skiedude)
- [SANITY] Module: bring up apt dependency upper bound to <=6.0.0. See #513 (Thanks @skiedude)
- [DOCUMENTATION] Fixes on disk, ndingx and activemq_xml docs. See #528
2.5.0 / 2019-03-25
Notes
- [FEATURE] Kafka: Updated kafka integration to include all stats. See #498 (Thanks @dpricha89)
- [FEATURE] PostgreSQL: enable extra metrics collection. See #493 (Thanks @diogokiss)
- [FEATURE] Reporting: make gem provider configurable at the datadog-agent class level. See #486
- [IMPROVEMENT] Disk: support new integration options replacing deprecations. See #508
- [IMPROVEMENT] Remove apt-transport-https package install. See #504 (Thanks @fr3nd)
- [BUGFIX] Reporting: use https:// in datadog-reports.yaml. See #503 (Thanks @cabrinha)
- [BUGFIX] TCP check:
check_name
instead of name. See #501 (Thanks @cabrinha) - [BUGFIX] SSH check: fix broken config location:
ssh_check.d
instead ofssh.d
. See #502 (Thanks @cabrinha) - [BUGFIX] Revert chatty apt-get update behavior. See #506 and #507
2.4.1 / 2019-02-21
Notes
- [FEATURE] APM Trace Search. See #485
- [BUGFIX] Fix
apm_analyzed_spans
config directive. See #496 (Thanks @zoom-kris-anderson) - [BUGFIX] Custom integration defined type bugfix. See #490 (Thanks @o0oxid)
- DOCS multiple documentation improvements. (See #492 and #487)
2.4.0 / 2018-12-27
Notes
- [FEATURE] Support EU site in the reporter. See #468
- [FEATURE] Add
datadog_site
for EU/USA region support. See #464 - [FEATURE] Make Agent 6
cmd_port
configurable. See #473 (Thanks @arkpoah) - [FEATURE] Support backup keyservers. See #470
- [FEATURE] Support
hostname_fqdn
. See #481 (Thanks @alexfouche) - [FEATURE] Support GCE tag collection. See #481 (Thanks @alexfouche)
- [FEATURE] Tomcat: support
jmx_url
option. See #482 (Thanks @evansj) - [IMPROVEMENT] Reports: fix
hostname_extraction_regex
default to undef. See #482 (Thanks @evansj) - [IMPROVEMENT] Use recommended locations for integration configs. See #481 (Thanks @alexfouche)
- [IMPROVEMENT] Silence agent6_extra_options notification on default params. See #449 (Thanks @spectralblu)
- [IMPROVEMENT] Improve proxy argument management. See #484
- [IMPROVEMENT] Generic integrations improvements. See #471
- [BUGFIX] Fix potential dependency cycle when used with other modules. See #463
- [BUGFIX] Fix Hiera tag merge in process integration. See #481 (Thanks @alexfouche)
- [BUGFIX] Merge
datadog_agent::tags
hiera values. See #472 (Thanks @paulhamby) - [BUGFIX] Fix
apm_enabled
YAML. See #466 (Thanks @NoodlesNZ) - [BUGFIX] Fix
facts_to_tags
regression in Agent 6. See #455 (Thanks @tommoyangn) - [TEST] Removing
sudo: false
as required by Travis CI. See #475 - [TEST] Adding vagrant-based test environment facilities. See #462
2.3.0 / 2018-07-11
Notes
- [FEATURE] Logs: enable log configuration management. See #439
- [FEATURE] MySQL: enable custom queries/metrics. See #316 (Thanks @yrcjaya)
- [FEATURE] PHP-fpm: add parameter for ping-reply. See #417 (Thanks @Aramack)
- [FEATURE] Agents: allow version pinning from the main manifest. See #446
- [BUGFIX] Agent 5: fix user/group override for config file. See #438 (Thanks @arkpoah)
- [BUGFIX] Agent 6: honor statsd forwarding parameters. See #408 (Thanks @djova)
- [BUGFIX] Agent 6: honor hostname configuration override. See #445
- [BUGFIX] Agent 6: honor
collect_ec2_tags
parameter. See #446 - [BUGFIX] Agents: (Amazon Linux bug) allow service provider override. See #444
- [BUGFIX] Network: fix configuration path. See #433 (Thanks @ewansteele)
- [BUGFIX] Reporting: fix
hostname_extraction_regex
config option. See #443 (Thanks @ColinHerbert) - [DEPRECATED] Agent 6:
proxy_*
options are deprecated useagent6_extra_options
. See #446 - DOCS README: fix apm, process config options. See #437 (Thanks @pulkitsethi)
2.2.0 / 2018-05-16
Notes
- [FEATURE] APM: enable apm non-local traffic. See #431 (Thanks @dschaaff)
- [FEATURE] APM: add environment config parameter. See #431 (Thanks @dschaaff)
- [FEATURE] Process: add config fields for process agent scrubbing. See #426
- [FEATURE] HTTP check: allow specification of CA cert. See #418 (Thanks @ffleming)
- [BUGFIX] PgBouncer: fix indentation in output configuration file. See #427 (Thanks @fwelschen)
- [BUGFIX] Process: fixes bad enabling directive. See #420 (Thanks @dschaaff)
- [BUGFIX] MySQL check: render port number correctly in output YAML. See #424 (Thanks @kevin-bowers)
- [DEPRECATE] DEB: stop installing old APT key. See #406
2.1.1 / 2018-03-14
Notes
- [BUGFIX] RHEL: fix faulty check prompting agent reinstalls. See #412 (Thanks @jcarr-sailthru)
- [BUGFIX] MySQL: fix broken parameters to manifest. See #411
2.1.0 / 2018-03-06
Notes
- [FEATURE] Kafka: support multiple instances. See #404
- [FEATURE] Consul: add network latency check support. See #394 (Thanks @Aramack)
- [BUGFIX] Stdlib: fix deprecations after stdlib 4.24.0. See #403 and #404 (Thanks @teintuc)
- [BUGFIX] RHEL: stop specifying service resource provider
redhat
. See #401 (Thanks @milescrabill) - [IMPROVEMENT] Add types to multiple manifest parameters. See #404
- [COMPATIBILITY] Drop puppetlabs-apt dependency lower bound to
2.4.0
. See #404 and 400 (Thanks @samueljamesmarshall)
2.0.1 / 2018-02-28
Notes
- [BUGFIX] RHEL: fix bad default agent6 repo url. See #397
2.0.0 / 2018-02-27
Overview
This release is a mejor release, there are a some breaking changes. We have
tried to keep the interface as similar as possible to what the community
was already used to, but have had to make some changes and cleaned up some
of the interfaces to some classes. Most notably the main datadog_agent
class, and the datadog_agent::ubuntu
and datadog_agent::redhat
.
Most checks manifest should remain backward compatible.
Please note this new release will install datadog agent version 6.x by default.
Finally, deprecated modules and support for EOL'd puppets has been dropped
so if you're running a puppet server <= 4.5.x
or PE <= 2016.4.x
although
the module might work for some versions, it has not been tested in those
environments.
Please read the docs for more details.
Notes
- [MAJOR] Datadog agent defaults to 6.x. Puppet >=4.6. See #387 and docs
- [FEATURE] Postgresl: adding SSL parameter support. See #391 (thanks @com6056)
- [FEATURE] Docker_daemon: parametrize integration. See #378 (thanks @flyinprogrammer)
- [FEATURE] Kafka: added support for multiple instances. See #343, #395 (thanks @jensendw)
- [BUGFIX] Tomcat: fix broken metrics yaml. See #390 (thanks @oshmyrko)
- [BUGFIX] Agent6: fix Agent6 beta fact. See #384 (thanks @scottgeary)
- [CI] APM: fix APM spec tests. See #389
- [CI] APM: do not apply footer if empty string. See #381 (thanks @rothgar)
1.12.1 / 2017-12-29
Notes
- [BUGFIX] agent6: fix generated YAML. See #379
1.12.0 / 2017-12-13
Notes
-
[FEATURE] agent6 beta support. See #356
-
[FEATURE] directory integration. See #357 (thanks @alexfouche)
-
[FEATURE] linux_proc_extras integration. See #357 (thanks @alexfouche)
-
[FEATURE] kafka integration. See #357 (thanks @alexfouche)
-
[FEATURE] kubernetes integration. See #369 (thanks @lowkeyshift)
-
[FEATURE] kuberentes_state integration. See #369 (thanks @lowkeyshift)
-
[FEATURE] network integration. See #346 (thanks @jameynelson)
-
[FEATURE] system core integration. See #359 (thanks @dan70402)
-
[FEATURE] support for process_agent. See #352 (thanks @jfrost)
-
[IMPROVEMENT] better support for puppet 4, 5. See #362 and #370 (thanks @bittner)
-
[IMPROVEMENT] explicit puppet 5 support + fixes. See #377
-
[IMPROVEMENT] pgbouncer: support multiple instances. See #361 (thanks @ajvb)
-
[IMPROVEMENT] general cleanup. See #357 and #376 (thanks @alexfouche)
-
[BUGFIX] agent6: fix downgrade back to agent5 if on
latest
version. See #375 -
[BUGFIX] apt: only grep for last 8 characters to verify key. See #373 and #374 (thanks @szponek)
-
[DOCUMENTATION] fix tagging documentation. See #347 (thanks @bit-herder)
1.11.0 / 2017-07-27
Notes
-
[FEATURE] Postfix Added integration. See #323 (Thanks @npaufler)
-
[FEATURE] Twemproxy: Added integration. See #326 (Thanks @swwolf)
-
[FEATURE] HAproxy: Added integration. See #326 (Thanks @swwolf)
-
[IMPROVEMENT] Memcache: Add multi-instance support for memcache. See #318 (Thanks @npaufler)
-
[IMPROVEMENT] Elasticsearch: Add support for multiple instances. See #333 (Thanks @stantona)
-
[IMPROVEMENT] Mongodb: support collection metrics per collection. See #335 (Thanks @jensendw)
-
[IMPROVEMENT] Redis: Allow command_stats. See #327 (Thanks @IanCrouch)
-
[IMPROVEMENT] Ceph: Add parameters to integration. See #322 (Thanks @stamak)
-
[IMPROVEMENT] Ubuntu: apt make repository configurable. See #340
-
[IMPROVEMENT] Ubuntu: use full key ID when adding GPG keys. See #329 (Thanks @pid1)
-
[IMPROVEMENT] Dd-agent: Change owner/group of /etc/dd-agent. See #325 (Thanks @ColinHebert)
-
[IMPROVEMENT] Docker_daemon: remove spaces that break resulting yaml. See #336 (Thanks @ckolos)
-
[BUGFIX] Dd-agent: add extra_template back. See #331 (Thanks @flyinprogrammer)
-
[BUGFIX] Dd-agent: Don't fail if there is no value in hiera. See #334 (Thanks @mtougeron)
-
[BUGFIX] Core: Addressing metaparam override in datadog_agent::tag. See #338 (Thanks @craigwatson)
-
[BUGFIX] RHEL/CentOS: fix chatty behavior. See #341
-
[BUGFIX] Dd-agent: ensured etc/dd-agent is directory. See #332 (Thanks @butangero)
-
[SANITY] Metadata: set correct apache license ID.
1.10.0 / 2017-04-21
Notes
-
[FEATURE] Ceph: Adding integration. See #293 (Thanks @stamak)
-
[FEATURE] Tcp_check: Adding integration. See #286 (Thanks @aepod)
-
[FEATURE] Trace_agent: Configure APM trace agent. See #302 and #311 (Thanks @DDRBoxman)
-
[FEATURE] Allow hiera defined integrations. See #261 (Thanks @cwood)
-
[IMPROVEMENT] Make tags their own resource. See #261 (Thanks @cwood)
-
[IMPROVEMENT] Support ports as integers. See #315 (Thanks @alexharv074)
-
[IMPROVEMENT] PHPfpm: Support for multiple instances and
http_host
. See #299 (Thanks @obi11235) -
[IMPROVEMENT] RabbitMQ: Adding additional configuration parameters. See #288 (Thanks @alvin-huang)
-
[IMPROVEMENT] Http_check: Adding response_status_code. See #290 (Thanks @dzinek)
-
[IMPROVEMENT] Http_check: Adding no_proxy configuration option. See #309
-
[IMPROVEMENT] Service_discovery: Adding jmx checks for SD. See #296 (Thanks @alvin-huang)
-
[IMPROVEMENT] Reporting: Fix already initialized warning. See #292 and #310 (Thanks @craigwatson)
-
[IMPROVEMENT] Reporting: Send metrics for hosts as a batch, reducing overhead. See #313 (Thanks @tdm4)
-
[DEPRECATE] Http_check: Slowly deprecate skip_event. See #291 (Thanks @flyinprogrammer)
-
[DOCUMENTATION] Cleanup EC2-related parameter docs. See #252 (Thanks @jdavisp3)
-
[DOCUMENTATION] Zookeeper: fix comment to match reality. See #297 (Thanks @generica)
1.9.0 / 2016-12-20
Notes
-
[BUGFIX][rpm] fix key rotation for RPMs - install legacy key as well. See #283. (Thanks @aepod).
-
[BUGFIX] Reporting: allow the report processor to run on Puppet Enterprise. See #266. (Thanks @binford2k).
-
[BUGFIX] RHEL/CentOS: Fix gpg and test binary paths. See #259. (Thanks @sethcleveland).
-
[BUGFIX] NTP: fix template. See #280. (Thanks @MartinDelta).
-
[BUGFIX] Multiple integrations: swapped order of optional vs. non-optional parameters. See #232. (Thanks @sethcleveland).
-
[IMPROVEMENT][rpm+deb] repo keys rotated. See #242.
-
[IMPROVEMENT] MySQL: Allow multiple MySQL instances See #267. (Thanks @IanCrouch).
-
[IMPROVEMENT] Http check:
allow_redirects
+check_certificate_expiration
improvement. See #282. (Thanks @cristianjuve). -
[IMPROVEMENT] Http_check: update to include new attributes. See #276. (Thanks @aepod).
-
[IMPROVEMENT] Http_check: set disable_ssl_validation parameter. See #258.
-
[IMPROVEMENT] Postgres: support generic postgres custom metrics. See #224. (Thanks @sethcleveland).
-
[IMPROVEMENT] Postgres: support use_pscopg2 flag for postgres integrations. See #243. (Thanks @sethcleveland).
-
[IMPROVEMENT] Cassandra: support cassandra integration tags. See #256. (Thanks @sethcleveland).
-
[IMPROVEMENT] HAProxy: support multiple instances. See #279. (Thanks @swwolf).
-
[FEATURE] Service Discovery: Allow Service Discovery configuration See #281. (Thanks @scottgeary).
-
[FEATURE] Generic define to enable new integrations. See #233. (Thanks @cwood)
-
[CI] Multiple fixes related to the spec tests on older puppets.
-
[CI] Consul: adding spec tests. See #264. (Thanks @flyinprogrammer).
1.8.1 / 2016-08-15
Notes
- [BUGFIX] Updating Changelog and README.
1.8.0 / 2016-08-15
Notes
-
[FEATURE] Cassandra integration. See #195. (Thanks @aaron-miller).
-
[FEATURE] Fluentd integration. See #197. (Thanks @aaron-miller).
-
[FEATURE] Memcached integration. See #203. (Thanks @NoodlesNZ).
-
[FEATURE] Riak integration. See #213. (Thanks @cristianjuve).
-
[FEATURE] Supervisord integration. See #214. (Thanks @cristianjuve).
-
[FEATURE] SSH integration. See #219. (Thanks @aaron-miller).
-
[FEATURE] DNS integration. See #212. (Thanks @jacobbednarz).
-
[IMPROVEMENT] MySQL: adding new mysql options. See #216. (Thanks @IanCrouch).
-
[IMPROVEMENT] Elasticsearch: adding elasticsearch shield support. See #202. (Thanks @pabrahamsson).
-
[IMPROVEMENT] Update the report config file check to account for permissions. See #205. (Thanks @mcasper).
-
[IMPROVEMENT] Ubuntu: Use HTTPS for apt requests. See #208. (Thanks @jacobbednarz).
-
[IMPROVEMENT] Ubuntu: retry
apt-get update
. See #207. (Thanks @mraylu). -
[IMPROVEMENT] Reporting: allow setting
dogapi
version. See #210. (Thanks @degemer). -
[IMPROVEMENT] Reporting: allow setting
gem_provider
manually. See #223. -
[IMPROVEMENT] Http_check: Adding content_match argument. See #217. (Thanks @cristianjuve)
-
[IMPROVEMENT] Varnish: Add
-n
argument. See #209. (Thanks @cristianjuve) -
[IMPROVEMENT] Consul: new configuration options. See #204. (Thanks @scottgeary)
-
[BUGFIX] Reporting could break if
m
in datadog_reports returns nil. See #211. -
[BUGFIX] Redhat: Setting provider to
redhat
, should fix init issues. See #222. -
[CI] Fixed broken Travis testing.
1.7.1 / 2016-06-22
Notes
- [BUFIX] Fix reversed logic in
hostname_extraction
option.. See #189. (Thanks @davejrt). - [BUFIX] Fix reporting on PE and POSS. Dogapi gem required in JRuby Env. See #188.
- [BUFIX] On ubuntu manifest, agent version should be explicitly configurable. See #187.
- [BUFIX] HTTP check, name is a compulsory field. See #186.
- [BUFIX] Dogstatsd should be enabled by default. See #183.
1.7.0 / 2016-04-12
Notes
-
[FEATURE] Added manifest for PGBouncer. See #175. (Thanks @mcasper).
-
[FEATURE] Added manifest for Consul. See #174. (Thanks @flyinprogrammer).
-
[FEATURE] Added mesos master and slave manifests for individual management. See #174. (Thanks @flyinprogrammer and @jangie).
-
[FEATURE] Added option to extract the hostname from puppet hostname strings with a regex capture group. See #173. (Thanks @LeoCavaille).
-
[FEATURE] Added support on multiple ports per host on Redis integration. See #169. (Thanks @fzwart).
-
[FEATURE] Added support for
disable_ssl_validation
on Apache integration. See[#171. (Thanks @BIAndrews). -
[FEATURE] Added support for SSL, additional metrics and database connection in Mongo integration. See #164. (Thanks @bflad).
-
[FEATURE] Added support for multiple instance in HTTP check. See #155. (Thanks @jniesen).
-
[FEATURE] Added support for multiple new datadog.conf directives. See #79. (Thanks @obowersa).
-
[FEATURE] Decouple yum repo from agent package. See #168. (Thanks @b2jrock).
-
[IMPROVEMENT] Moved GPG key to its own parameter. See #158. (Thanks @davidgibbons).
-
[BUFIX] Updated docker to use more current
docker_daemon
. See #174. (Thanks @flyinprogrammer and @jangie). -
[DEPRECATE] Deprecated old docker manifest. See #174. (Thanks @flyinprogrammer).
-
[DEPRECATE] Deprecated
new_tag_names
indocker_daemon
manifest. See #176. -
[DEPRECATE] Deprecated
use_mount
option in base manifest. See #174. (Thanks @flyinprogrammer). -
[CI] Added multiple tests for integration classes. See #145. (Thanks @kitchen).
1.6.0 / 2016-01-20
Notes
-
[FEATURE] Added Puppet 4 support. See #161. (Thanks @grubernaut).
-
[FEATURE] Added support for optional parameters in NTP integration. See #139. (Thanks @MartinDelta).
-
[BIGFIX] Use ensure_packages(), to be more polite about apt-transport-https. See #154. (Thanks @rtyler).
-
[BUGFIX] Fixed Zookeeper template. See #150 (Thanks @tuxinaut).
-
[BUGFIX] Raised priority of
changed
event types to normal - they'll now show in Datadog UI. See #156. (Thanks @rtyler). -
[BUGFIX] Require stdlib >=4.6 (provide
validate_integer()
). See #161. (Thanks @mrunkel-ut). -
[CI] Testable up to puppet 4.2. See #161. (Thanks @grubernaut).
-
[COSMETIC] Removing trailing whitespace. See #149. (Thanks @tuxinaut).
1.5.0 / 2015-11-13
Notes
- [FEATURE] Add generic integration configuration
- [FEATURE] Add HTTPS support for yum and apt-get
- [FEATURE] Add support for warning on missing REDIS keys.
- [FEATURE] Add support for configuring the length of REDIS slow-query queue.
- [FEATURE] Add dogstatsd forwarding configuration.
- [FEATURE] Allow skipping of SSL validation.
- [FEATURE] Allow configuration of stats histogram percentiles.
- [FEATURE] Allow disabling apt-key trusting.
- [FEATURE] Add configuration of http client.
- [FEATURE] Add support for grabbing Hiera tags.
1.4.0 / 2015-09-14
Notes
-
[FEATURE] Add
ganglia
configuration -
[FEATURE] Add
rabbitmq
features forqueues
andvhosts
-
[FEATURE] Add pre-commit hooks for
yaml
validation andpuppet-lint
-
[BUGFIX] Check for
rubygems
definition before attempting install -
[BUGFIX] Pin
rspec-puppet
version to 2.2.0 to avoid unexpected test regressions -
[BUGFIX] Fix default value for
ntp
offset -
[BUGFIX] Be more flexible in required version of
puppetlabs/ruby
-
[DOC] Improve documentation for
ntp
integration -
[DOC] Improve documentation for
postgres
integration -
[DOC] Improve documentation for contributing to the repo
1.3.0 / 2015-06-01
Notes
-
[FEATURE] Add
collect_ec2_tags
andcollect_instance_metadata
options to the main class -
[FEATURE] Add
sock
parameter in MySQL integration -
[FEATURE] Add support for graphite listener option in the main class
-
[FEATURE] Add NTP integration
-
[FEATURE] Add support for dogstreams array in the main class
-
[FEATURE] Add HAProxy integration
-
[FEATURE] Add RabbitMQ integration
-
[FEATURE] Add support for an extra template appended to datadog.conf
-
[FEATURE] Add Mesos integration
-
[FEATURE] Add Marathon integration
-
[FEATURE] Add more flexiblity to configure the docker integration
-
[BUGFIX] Fix discrepancy of
exact_match
default in the process check compared to dd-agent -
[BUGFIX] Fix ordering of resources when installing agent
-
[CI] Test on a variety of puppet & ruby versions
-
[CI] Move to Travis docker infra and add some bundle caching
1.2.0 / 2015-02-24
Notes
-
[FEATURE] Add zookeeper integration
-
[FEATURE] Make redhat/yum base URL configurable
-
[FEATURE] Add docker integration
-
[FEATURE] Add postgres integration
-
[FEATURE] Add
use_mount
option in the base datadog_agent class -
[FEATURE] Add proxy options in the base datadog_agent class
-
[BUGFIX] Use correct JMX-styled tags in JMX integrations
Careful this means that you probably have to update a buggy array of tags (that gives you nothing in the agent) to a hash of tags.
-
[BUGFIX] Fix ordering in YAML templates using
to_yaml
broken because of ruby 1.8 -
[CI] Add boilerpate for specs and linting rake tasks
-
[CI] Add a travis build!
-
[CI] All base manifests should have specs
1.1.1 / 2014-10-03
Notes
- [FEATURE] Expose
log_to_syslog
indatadog_agent
class - [BUGFIX] Fix Mongo integration YAML file generation when using
tags
1.1.0 / 2014-09-22
Notes
- [FEATURE] Add
facts_to_tags
to the main class, to tag with facts out of the box - [FEATURE] Add classes for Tomcat & Solr integrations
- [FEATURE] Make
service_ensure
andservice_enable
configurable allowing specific use like image builds - [BUGFIX] Removed
datadog-agent-base
removal during installation that could cause yum to uninstalldatadog-agent
- [BUGFIX] Fixed deprecation warning on the
datadog.conf
template
1.0.1
Dependencies
- puppetlabs/stdlib (>=4.24.0 <6.0.0)
- puppetlabs/ruby (>=1.0.0 <2.0.0)
- puppetlabs/concat (>=4.0.0 <6.0.0)
- puppetlabs/apt (>=4.4.0 <=6.0.0)
- puppetlabs/puppetserver_gem (>=1.0.0 <2.0.0)
- puppetlabs/yumrepo_core (>=1.0.3 < 2.0.0)
Author:: (<james@lovedthanlost.net>) Author:: Datadog (<info@datadoghq.com>) Copyright:: Copyright (c) 2012-2014 Datadog Author:: Rob Terhaar (<rob@atlanticdynamic.com>) Author:: James Turnbull (<james@lovedthanlost.net>) Copyright:: Copyright (c) 2011 James Turnbull License:: Apache License, Version 2.0 Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.