Method: Sentry::Transaction::SpanRecorder#add
- Defined in:
- lib/sentry/transaction.rb
#add(span) ⇒ Object
331 332 333 334 335 |
# File 'lib/sentry/transaction.rb', line 331 def add(span) if @spans.count < @max_length @spans << span end end |