Skip to content

Commit

Permalink
Merge pull request #44 from DataDog/ivoanjo/fix-ruby-allocations-tele…
Browse files Browse the repository at this point in the history
…metry-noise

[NO-TICKET] Fix flakiness in Ruby allocation tests by disabling telemetry
  • Loading branch information
ivoanjo authored Jul 16, 2024
2 parents bf170a6 + b41f28e commit bb5d054
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions scenarios/ruby_allocations/main.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ def export(flush)
Datadog.configure do |c|
c.profiling.enabled = true
c.profiling.exporter.transport = ExportToFile.new
c.telemetry.enabled = false
end

Datadog::Profiling.wait_until_running
Expand Down
1 change: 1 addition & 0 deletions scenarios/ruby_heap/main.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ def export(flush)
Datadog.configure do |c|
c.profiling.enabled = true
c.profiling.exporter.transport = ExportToFile.new
c.telemetry.enabled = false
end

setup_end = Process.clock_gettime(Process::CLOCK_MONOTONIC)
Expand Down

0 comments on commit bb5d054

Please sign in to comment.