Skip to content

Commit

Permalink
updatae
Browse files Browse the repository at this point in the history
  • Loading branch information
agardnerIT committed Aug 27, 2024
1 parent 3b68fd5 commit 601d4ae
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 12 deletions.
9 changes: 1 addition & 8 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,6 @@
"cpus": 2
},

"remoteEnv": {
"TZ": "UTC"
},

// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": ".devcontainer/post-create.sh",

Expand All @@ -69,9 +65,6 @@
},
"DT_API_TOKEN_SYSLOG": {
"description": "A Dynatrace access token with these permissions: `logs.ingest`"
},
"TZ": {
"description": "Timezone Identifier eg. Australia/Brisbane - see here: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones (default UTC)"
}
}
}
}
3 changes: 0 additions & 3 deletions .devcontainer/post-create.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@

COLLECTOR_VERSION=0.12.0

# if TZ env var isn't set, default to "UTC"
if [ -z "${VAR}" ]; then VAR="UTC"; fi

# Download Collector
wget https://github.com/Dynatrace/dynatrace-otel-collector/releases/download/v${COLLECTOR_VERSION}/dynatrace-otel-collector_${COLLECTOR_VERSION}_Linux_x86_64.tar.gz
tar -xf dynatrace-otel-collector_${COLLECTOR_VERSION}_Linux_x86_64.tar.gz
Expand Down
1 change: 0 additions & 1 deletion config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ receivers:
udp:
listen_address: "127.0.0.1:54526"
protocol: rfc3164
location: "${env:TZ}"

exporters:
debug:
Expand Down

0 comments on commit 601d4ae

Please sign in to comment.