Skip to content

Commit

Permalink
Removing messaging.operation for 'send' operations.
Browse files Browse the repository at this point in the history
  • Loading branch information
stebet committed Nov 21, 2022
1 parent 2461db8 commit d2fe09b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ private static Activity StartRabbitMQActivity(string name, ActivityKind kind, Ac
private static void PopulateMessagingTags(string operation, string routingKey, string exchange, ulong deliveryTag, IReadOnlyBasicProperties readOnlyBasicProperties, int bodySize, Activity activity)
{
activity
.SetTag("messaging.operation", operation)
.SetTag("messaging.operation", operation == "send" ? operation : null)
.SetTag("messaging.destination", string.IsNullOrEmpty(exchange) ? "amq.default" : exchange)
.SetTag("messaging.destination_kind", "topic")
.SetTag("messaging.rabbitmq.routing_key", routingKey)
Expand Down

0 comments on commit d2fe09b

Please sign in to comment.