lib/elastic_apm/transport/serializers/transaction_serializer.rb in elastic-apm-3.10.1 vs lib/elastic_apm/transport/serializers/transaction_serializer.rb in elastic-apm-3.11.0

- old
+ new

@@ -36,9 +36,10 @@ type: keyword_field(transaction.type), result: keyword_field(transaction.result.to_s), duration: ms(transaction.duration), timestamp: transaction.timestamp, sampled: transaction.sampled?, + sample_rate: transaction.sample_rate, context: context_serializer.build(transaction.context), span_count: { started: transaction.started_spans, dropped: transaction.dropped_spans }