lib/elastic_apm/transport/serializers/transaction_serializer.rb in elastic-apm-3.11.1 vs lib/elastic_apm/transport/serializers/transaction_serializer.rb in elastic-apm-3.12.0
- old
+ new
@@ -33,9 +33,10 @@
trace_id: transaction.trace_id,
parent_id: transaction.parent_id,
name: keyword_field(transaction.name),
type: keyword_field(transaction.type),
result: keyword_field(transaction.result.to_s),
+ outcome: keyword_field(transaction.outcome),
duration: ms(transaction.duration),
timestamp: transaction.timestamp,
sampled: transaction.sampled?,
sample_rate: transaction.sample_rate,
context: context_serializer.build(transaction.context),