diff --git a/opentracing-api/src/main/java/io/opentracing/tag/Tags.java b/opentracing-api/src/main/java/io/opentracing/tag/Tags.java index b74197e8..9496dffc 100644 --- a/opentracing-api/src/main/java/io/opentracing/tag/Tags.java +++ b/opentracing-api/src/main/java/io/opentracing/tag/Tags.java @@ -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. */ @@ -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");