lib/ddtrace/buffer.rb
# Aggregate metrics:
# They reflect buffer activity since last #pop.
# These may not be as accurate or as granular, but they
# don't use as much network traffic as live stats.
Aggregate metrics:
They reflect buffer activity since last #pop.
These may not be as accurate or as granular, but they
don't use as much network traffic as live stats.
Aggregate metrics : They reflect buffer activity since last #pop . These may not be as accurate or as granular but they don ' t use as much network traffic as live stats .
def measure_accept(trace)
      @buffer_spans += trace.length
      @buffer_accepted += 1
      @buffer_accepted_lengths += trace.length
    rescue StandardError => e
      Datadog.logger.debug("Failed to measure queue accept. Cause: #{e.message} Source: #{e.backtrace.first}")
    end
def measure_accept ( trace ) @buffer_spans += trace . length @buffer_accepted += 1 @buffer_accepted_lengths += trace . length rescue StandardError => e Datadog . logger . debug ( "Failed to measure queue accept. Cause: #{e.message} Source: #{e.backtrace.first}" ) end
Aggregate metrics:
They reflect buffer activity since last #pop.
Aggregate metrics : They reflect buffer activity since last #pop .
trace
<not_specific>