Skip to content
This repository has been archived by the owner on May 23, 2023. It is now read-only.

Commit

Permalink
Adding producer/consumer to available tags (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
itielshwartz authored and yurishkuro committed Jul 4, 2018
1 parent 8775c7b commit 23a0af1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions opentracing/ext/tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@
# Marks a span representing the server-side of an RPC or other remote call
SPAN_KIND_RPC_SERVER = 'server'

# Marks a span representing the consumer-side of a messaging call
SPAN_KIND_CONSUMER = 'consumer'

# Marks a span representing the producer-side of a messaging call
SPAN_KIND_PRODUCER = 'producer'

# ---------------------------------------------------------------------------
# ERROR indicates whether a Span ended in an error state.
# ---------------------------------------------------------------------------
Expand Down

0 comments on commit 23a0af1

Please sign in to comment.