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

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.