No release in over a year
Itamae plugin to install datadog-agent.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

>= 0
 Project Readme

Itamae::Plugin::Recipe::Datadog

Itamae plugin to install Datadog Agent.

Gem Version test

Installation

Add this line to your application's Gemfile:

gem 'itamae-plugin-recipe-datadog'

And then execute:

$ bundle

Or install it yourself as:

$ gem install itamae-plugin-recipe-datadog

Usage

Recipe

# In your recipe
include_recipe "datadog::install"

Node

$ itamae -y node.yml

# node.yml
datadog:
  api_key: xxxxxx
  install_only: false # default: true
  upgrade: true # default: false
  agent_major_version: 7 # default: none

  integrations: # default: {}
    datadog-puma: 1.1.0 # Install specified version (recommended)
    datadog-vsphere: # Install latest version
  • node[:datadog][:api_key]
    • Your datadog-agent API Key.
  • node[:datadog][:install_only]
    • An install option. If you want to install agent and don't start agent, please set this optiontrue.
  • node[:datadog][:upgrade]
    • An install option. Upgrade datadog-agent version automatically.
  • node[:datadog][:agent_major_version]
  • node[:datadog][:integrations]

Definitions

install_datadog_agent_integration

Install datadog-agent integration. (same to node[:datadog][:integrations])

Usage

include_recipe "datadog::install_datadog_agent_integration"

# Install specified version (recommended)
install_datadog_agent_integration "datadog-puma" do
  version "1.1.0"
end

# Install latest version
install_datadog_agent_integration "datadog-puma"

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/itamae-plugins/itamae-plugin-recipe-datadog. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the MIT License.