Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

APM not picking up prerun variables #390

Open
aenand opened this issue Dec 9, 2024 · 0 comments
Open

APM not picking up prerun variables #390

aenand opened this issue Dec 9, 2024 · 0 comments

Comments

@aenand
Copy link

aenand commented Dec 9, 2024

Hello! I am trying to set three APM variables with the datadog/prerun.sh script. I see with a herkou env command that the values are getting set but Datadog APM is not picking any of them up in the dashboard. Any idea what's going on?

Script:

#!/usr/bin/env bash

# Set app version based on HEROKU_SLUG_COMMIT
if [ -n "$HEROKU_SLUG_COMMIT" ]; then
  DD_VERSION=$HEROKU_SLUG_COMMIT
  DD_GIT_COMMIT_SHA=$HEROKU_SLUG_COMMIT
fi
DD_GIT_REPOSITORY_URL="{{github_url}}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant