Method: Datadog::Profiling::Exporter#can_flush?

Defined in:
lib/datadog/profiling/exporter.rb

#can_flush?Boolean

Returns:

  • (Boolean)


90
91
92
# File 'lib/datadog/profiling/exporter.rb', line 90

def can_flush?
  !duration_below_threshold?(last_flush_finish_at || created_at, time_provider.now.utc)
end