Files
jambonz-infrastructure/packer/jambonz-feature-server/scripts/install_datadog.sh
T
Antony Jukes 4a8cd9363a Feature - Packer: Add User Variables for MRF Profile, Preffered Codecs & Datadog Key (#10)
* -gitignore for intellij
-user variable for preferred_codec_list
-user variable for datadog_api_key
-user variable for mediaserver_name

* added new user variables to template.json

* added datadog_key for sbc-sip

* added datadog_key for sbc-rtp
2021-12-03 10:40:18 -05:00

6 lines
259 B
Bash
Executable File

#!/bin/bash
if [ "$DD_INSTALL" == "yes" ] && [ "$DD_KEY" != "" ]; then
echo installing datadog...
DD_INSTALL_ONLY=true DD_API_KEY=${DD_KEY} bash -c "$(curl -L https://raw.githubusercontent.com/DataDog/datadog-agent/master/cmd/agent/install_script.sh)"
fi