-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* build(deps): add dd-trace * feat: use dd-trace * ci: update ci * fix: move dd-trace to top of file * ci: test sed command * fix(ci): add ebextensions to zip command we need to explicitly provide the folder path in order for ebextensions to be zipped. the injection step has been shifted infront so that the deploy folder will have the key. this also reverts the sed command change which doesn't work on bash * Fix: rebase errors Co-authored-by: Preston Lim <prestonlimlianjie@gmail.com> Co-authored-by: seaerchin <jiachin@open.gov.sg>
- Loading branch information
1 parent
0cfaf72
commit 537f914
Showing
6 changed files
with
568 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# .ebextensions/99datadog.config | ||
option_settings: | ||
- namespace: aws:elasticbeanstalk:application:environment | ||
option_name: DD_AGENT_MAJOR_VERSION | ||
value: "7" | ||
- namespace: aws:elasticbeanstalk:application:environment | ||
option_name: DD_AGENT_MINOR_VERSION | ||
value: "" # Eg: 34 to install 7.34.x, leave empty to install the latest 7.x | ||
|
||
files: | ||
"/etc/datadog-agent/datadog.yaml": | ||
mode: "000640" | ||
owner: root # will be changed to dd-agent after the installation | ||
group: root | ||
content: | | ||
# Add here the Agent configuration | ||
api_key: "@DD_API_KEY" | ||
site: datadoghq.com | ||
|
||
"/datadog_install_script.sh": | ||
mode: "000700" | ||
owner: root | ||
group: root | ||
source: https://s3.amazonaws.com/dd-agent/scripts/install_script.sh | ||
|
||
container_commands: | ||
05setup_datadog: | ||
command: "DD_API_KEY=unused /datadog_install_script.sh; sed -i 's/ install_script/ ebs_install_script/' /etc/datadog-agent/install_info" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.