Skip to content

Commit

Permalink
profiler: Reduce execution trace period to 15min (#2091)
Browse files Browse the repository at this point in the history
  • Loading branch information
felixge authored Jul 5, 2023
1 parent 2c7a8f4 commit c10c902
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion profiler/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ type executionTraceConfig struct {
// needed.
func (e *executionTraceConfig) Refresh() {
e.Enabled = internal.BoolEnv("DD_PROFILING_EXECUTION_TRACE_ENABLED", false)
e.Period = internal.DurationEnv("DD_PROFILING_EXECUTION_TRACE_PERIOD", 5000*time.Second)
e.Period = internal.DurationEnv("DD_PROFILING_EXECUTION_TRACE_PERIOD", 15*time.Minute)
e.Limit = internal.IntEnv("DD_PROFILING_EXECUTION_TRACE_LIMIT_BYTES", defaultExecutionTraceSizeLimit)

if e.Enabled && (e.Period == 0 || e.Limit == 0) {
Expand Down

0 comments on commit c10c902

Please sign in to comment.