Skip to content

Commit 3aa03a8

Browse files
committed
Code hotspots and endpoint collection now enabled by default
1 parent cfc2436 commit 3aa03a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/dd-trace/src/profiling/config.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ class Config {
9797
this.debugSourceMaps = isTrue(coalesce(options.debugSourceMaps, DD_PROFILING_DEBUG_SOURCE_MAPS, false))
9898
this.endpointCollectionEnabled = isTrue(coalesce(options.endpointCollection,
9999
DD_PROFILING_ENDPOINT_COLLECTION_ENABLED,
100-
DD_PROFILING_EXPERIMENTAL_ENDPOINT_COLLECTION_ENABLED, false))
100+
DD_PROFILING_EXPERIMENTAL_ENDPOINT_COLLECTION_ENABLED, true))
101101
logExperimentalVarDeprecation('ENDPOINT_COLLECTION_ENABLED')
102102

103103
this.pprofPrefix = pprofPrefix
@@ -147,7 +147,7 @@ class Config {
147147

148148
this.codeHotspotsEnabled = isTrue(coalesce(options.codeHotspotsEnabled,
149149
DD_PROFILING_CODEHOTSPOTS_ENABLED,
150-
DD_PROFILING_EXPERIMENTAL_CODEHOTSPOTS_ENABLED, false))
150+
DD_PROFILING_EXPERIMENTAL_CODEHOTSPOTS_ENABLED, true))
151151
logExperimentalVarDeprecation('CODEHOTSPOTS_ENABLED')
152152

153153
this.profilers = ensureProfilers(profilers, this)

0 commit comments

Comments
 (0)