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

feat(dd-apm): Added initial config for dd apm #1617

Merged
merged 7 commits into from
Jun 9, 2021
Merged

feat(dd-apm): Added initial config for dd apm #1617

merged 7 commits into from
Jun 9, 2021

Conversation

emalinowski
Copy link
Contributor

Jira Ticket: PXP-xxxx

  • Remove this line if you've changed the title to (PXP-xxxx): <title>

New Features

Breaking Changes

Bug Fixes

Improvements

Dependency updates

Deployment changes

@emalinowski emalinowski requested a review from jawadqur June 7, 2021 20:12
jawadqur
jawadqur previously approved these changes Jun 7, 2021
Comment on lines +105 to +128
- name: DD_ENABLED
valueFrom:
configMapKeyRef:
name: manifest-global
key: dd_enabled
optional: true
- name: DD_ENV
valueFrom:
fieldRef:
fieldPath: metadata.labels['tags.datadoghq.com/env']
- name: DD_SERVICE
valueFrom:
fieldRef:
fieldPath: metadata.labels['tags.datadoghq.com/service']
- name: DD_VERSION
valueFrom:
fieldRef:
fieldPath: metadata.labels['tags.datadoghq.com/version']
- name: DD_LOGS_INJECTION
value: "true"
- name: DD_PROFILING_ENABLED
value: "true"
- name: DD_TRACE_SAMPLE_RATE
value: "1"
Copy link
Contributor

Choose a reason for hiding this comment

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

I wish we had proper templating using helm or kustomize so we could omit these whenever DD is not enabled.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yea, true. But it's really just unused env vars at that point right 🤷.

Copy link
Contributor

@themarcelor themarcelor left a comment

Choose a reason for hiding this comment

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

+1

@jawadqur jawadqur merged commit 8f47591 into master Jun 9, 2021
@jawadqur jawadqur deleted the feat/dd-apm branch June 9, 2021 18:18
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