Skip to content

Commit

Permalink
update dbm mongodb beta installation script to include guides to DD_S…
Browse files Browse the repository at this point in the history
…ITE (#24317)
  • Loading branch information
lu-zhengda authored Jul 24, 2024
1 parent 2d2a13b commit 782af4e
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
5 changes: 5 additions & 0 deletions layouts/shortcodes/dbm-mongodb-agent-beta-install-docker.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
To install the beta version of the containerized Datadog Agent, run the following command.
Replace `<DD_API_KEY>` with your [Datadog API key][1] and `<DD_SITE>` with your [Datadog site][2].

```shell
# Override the following environment variables
export DD_API_KEY=<DD_API_KEY>
export DD_SITE=<DD_SITE>
export DD_AGENT_VERSION=7.56.0-dbm-mongo-1.3

docker pull "datadog/agent:${DD_AGENT_VERSION}"
```

[1]: /account_management/api-app-keys/
[2]: /getting_started/site/
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
To install the beta version of the Datadog Agent on Kubernetes, run the following command.
Replace `<DD_API_KEY>` with your [Datadog API key][1] and `<DD_SITE>` with your [Datadog site][2].

```shell
# Override the following environment variables
export DD_API_KEY=<DD_API_KEY>
export DD_SITE=<DD_SITE>

helm repo add datadog https://helm.datadoghq.com
helm repo update
Expand All @@ -21,3 +23,5 @@ datadog:

```

[1]: /account_management/api-app-keys/
[2]: /getting_started/site/
6 changes: 5 additions & 1 deletion layouts/shortcodes/dbm-mongodb-agent-beta-install-linux.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
To install the beta version of the Datadog Agent on a Linux host, run the following command.
Replace `<DD_API_KEY>` with your [Datadog API key][1] and `<DD_SITE>` with your [Datadog site][2].

```shell
# Override the following environment variables
Expand All @@ -7,5 +8,8 @@ export DD_AGENT_DIST_CHANNEL=beta
export DD_AGENT_MAJOR_VERSION=7
export DD_AGENT_MINOR_VERSION="56.0~dbm~mongo~1.3"

DD_API_KEY=<DD_API_KEY> DD_SITE="datadoghq.com" bash -c "$(curl -L https://install.datadoghq.com/scripts/install_script_agent7.sh)"
DD_API_KEY=<DD_API_KEY> DD_SITE=<DD_SITE> bash -c "$(curl -L https://install.datadoghq.com/scripts/install_script_agent7.sh)"
```

[1]: /account_management/api-app-keys/
[2]: /getting_started/site/

0 comments on commit 782af4e

Please sign in to comment.