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

Commit

Permalink
Revert "Add service tag (#287)" (#322)
Browse files Browse the repository at this point in the history
This reverts commit 3e78ba6.
  • Loading branch information
tylerbenson authored Dec 6, 2018
1 parent d6f60dd commit 11bf4f5
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions opentracing-api/src/main/java/io/opentracing/tag/Tags.java
Original file line number Diff line number Diff line change
Expand Up @@ -45,17 +45,6 @@ private Tags() {
*/
public static final String SPAN_KIND_CONSUMER = "consumer";

/**
* The service name for a span, which overrides any default "service name" property defined
* in a tracer's config. This tag is meant to only be used when a tracer is reporting spans
* on behalf of another service (for example, a service mesh reporting on behalf of the services
* it is proxying). This tag does not need to be used when reporting spans for the service the
* tracer is running in.
*
* @see #PEER_SERVICE
*/
public static final StringTag SERVICE = new StringTag("service");

/**
* HTTP_URL records the url of the incoming request.
*/
Expand All @@ -82,9 +71,7 @@ private Tags() {
public static final StringTag PEER_HOST_IPV6 = new StringTag("peer.ipv6");

/**
* PEER_SERVICE records the service name of the peer service.
*
* @see #SERVICE
* PEER_SERVICE records the service name of the peer.
*/
public static final StringTag PEER_SERVICE = new StringTag("peer.service");

Expand Down

0 comments on commit 11bf4f5

Please sign in to comment.