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

[PROF-4065] Rename extract_trace_resource to endpoint.collection.enabled #1702

Merged
merged 3 commits into from
Sep 29, 2021

Conversation

ivoanjo
Copy link
Member

@ivoanjo ivoanjo commented Sep 28, 2021

This PR changes the profiling setting profiling.advanced.extract_trace_resource to profiling.advanced.endpoint.collection.enabled to match the name chosen for other languages.

It also adds support for setting the same value via an environment variable -- DD_PROFILING_ENDPOINT_COLLECTION_ENABLED, which again is standard for Datadog profilers.

This is not expected to affect users since this feature hasn't been yet exposed in the UX so it's not expected that users were already setting extract_trace_resource.

This brings this setting in line with the other profilers. We don't
expect to impact users, since this feature is not available in the UX.
This can be used as an alternative to setting the
`settings.profiling.advanced.endpoint.collection.enabled` setting.

The previous default is still kept: this feature is ENABLED by default.
@ivoanjo ivoanjo requested a review from a team September 28, 2021 15:41
@ivoanjo ivoanjo merged commit 148dfae into master Sep 29, 2021
@ivoanjo ivoanjo deleted the ivoanjo/prof-4065-add-endpoint-collection-env-flag branch September 29, 2021 07:37
@github-actions github-actions bot added this to the 0.53.0 milestone Sep 29, 2021
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.

None yet

2 participants