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

Revert "feat: add dd-trace to edxapp workers" #10

Merged
merged 1 commit into from
May 20, 2024

Conversation

connorhaugh
Copy link

@connorhaugh connorhaugh commented May 20, 2024

Reverts #6.

Caused AnsibleUndefinedVariable: 'SERVICE_VARIANT' is undefined in edxapp deploy script.

Presumably, environment= didn't work in the way Tim & I thought it should.

@connorhaugh connorhaugh merged commit ee5d9a3 into master May 20, 2024
4 checks passed
@connorhaugh connorhaugh deleted the revert-6-feat--add-dd-trace-to-edxapp-workers branch May 20, 2024 15:24
{% endif %}

{% if EDXAPP_DATADOG_ENABLE %}
{% set executable = edxapp_venv_bin + '/ddtrace-run ' + executable %}
export DD_TAGS="service:edx-edxapp-workers-{{ SERVICE_VARIANT }},queue:{{QUEUE_NAME}}"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh! I think I know what's going on here. Should be $SERVICE_VARIANT instead of {{ SERVICE_VARIANT }} (and same for queue name).

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

Successfully merging this pull request may close these issues.

3 participants