Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
VDI-Tech-Guy committed Dec 4, 2024
1 parent 7570124 commit 4469161
Show file tree
Hide file tree
Showing 10 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/sanity-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ on:

jobs:
sanity-tests:
uses: ansible-network/github_actions/.github/workflows/sanity.yml@main
uses: ansible-network/github_actions/.github/workflows/sanity.yml@main
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
#!/bin/bash

# Replace [MyInstance_ID] and [MyAPIToken] with your Dynatrace Instance ID and Token (No Brackets)

export DT_ENDPOINT="https://[MyInstance].live.dynatrace.com/api/v2/otlp"
export API_TOKEN="[MyAPIToken]"

podman pull dynatrace/edgeconnect:latest
podman run --name dt-edgeconn --mount type=bind,src=${PWD}/edgeConnect.yaml,dst=/edgeConnect.yaml -d --restart always dynatrace/edgeconnect
podman run --name dt-edgeconn --mount type=bind,src="$PWD"/edgeConnect.yaml,dst=/edgeConnect.yaml -d --restart always dynatrace/edgeconnect

podman run --name dt-otelcol --env DT_ENDPOINT="$DT_ENDPOINT" --env API_TOKEN="$API_TOKEN" -p 5678:5678 -v /dynatrace/collector.yaml:/collector.yaml -d --restart always ghcr.io/dynatrace/dynatrace-otel-collector/dynatrace-otel-collector:latest --config collector.yaml
podman run --name dt-otelcol --env DT_ENDPOINT="$DT_ENDPOINT" --env API_TOKEN="$API_TOKEN" -p 5678:5678 -v /dynatrace/collector.yaml:/collector.yaml -d --restart always ghcr.io/dynatrace/dynatrace-otel-collector/dynatrace-otel-collector:latest --config collector.yaml

0 comments on commit 4469161

Please sign in to comment.