Constants; will be removed in Brave 2.0@Deprecated
@Generated("thrift")
public class zipkinCoreConstants
extends java.lang.Object
| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
CLIENT_ADDR |
Deprecated.
Indicates a client address ("ca") in a span.
|
static java.lang.String |
CLIENT_RECV |
Deprecated.
The client received ("cr") a response from a server.
|
static java.lang.String |
CLIENT_RECV_FRAGMENT |
Deprecated.
Optionally logs progress of a (CLIENT_RECV, WIRE_RECV).
|
static java.lang.String |
CLIENT_SEND |
Deprecated.
The client sent ("cs") a request to a server.
|
static java.lang.String |
CLIENT_SEND_FRAGMENT |
Deprecated.
Optionally logs progress of a (CLIENT_SEND, WIRE_SEND).
|
static java.lang.String |
LOCAL_COMPONENT |
Deprecated.
The
value of "lc" is the component or namespace of a local
span. |
static java.lang.String |
SERVER_ADDR |
Deprecated.
Indicates a server address ("sa") in a span.
|
static java.lang.String |
SERVER_RECV |
Deprecated.
The server received ("sr") a request from a client.
|
static java.lang.String |
SERVER_RECV_FRAGMENT |
Deprecated.
Optionally logs progress of a (SERVER_RECV, WIRE_RECV).
|
static java.lang.String |
SERVER_SEND |
Deprecated.
The server sent ("ss") a response to a client.
|
static java.lang.String |
SERVER_SEND_FRAGMENT |
Deprecated.
Optionally logs progress of a (SERVER_SEND, WIRE_SEND).
|
static java.lang.String |
WIRE_RECV |
Deprecated.
Optionally logs an attempt to receive a message from the wire.
|
static java.lang.String |
WIRE_SEND |
Deprecated.
Optionally logs an attempt to send a message on the wire.
|
| Constructor | Description |
|---|---|
zipkinCoreConstants() |
Deprecated.
|
public static final java.lang.String CLIENT_SEND
public static final java.lang.String CLIENT_RECV
public static final java.lang.String SERVER_SEND
public static final java.lang.String SERVER_RECV
public static final java.lang.String WIRE_SEND
public static final java.lang.String WIRE_RECV
public static final java.lang.String CLIENT_SEND_FRAGMENT
public static final java.lang.String CLIENT_RECV_FRAGMENT
public static final java.lang.String SERVER_SEND_FRAGMENT
public static final java.lang.String SERVER_RECV_FRAGMENT
public static final java.lang.String CLIENT_ADDR
public static final java.lang.String SERVER_ADDR
public static final java.lang.String LOCAL_COMPONENT
value of "lc" is the component or namespace of a local
span.
BinaryAnnotation.host adds service context needed to support queries.
Local Component("lc") supports three key features: flagging, query by service and filtering
Span.name by namespace.
While structurally the same, local spans are fundamentally different than RPC spans in how
they should be interpreted. For example, zipkin v1 tools center on RPC latency and service
graphs. Root local-spans are neither indicative of critical path RPC latency, nor have impact
on the shape of a service graph. By flagging with "lc", tools can special-case local spans.
Zipkin v1 Spans are unqueryable unless they can be indexed by service name. The only path
to a service name is via host. By logging "lc", a local span can be queried even if no other annotations are logged.
The value of "lc" is the namespace of Span.name. For example, it might be
"finatra2", for a span named "bootstrap". "lc" allows you to resolves conflicts for the same
Span.name, for example "finatra/bootstrap" vs "finch/bootstrap". Using local component, you'd
search for spans named "bootstrap" where "lc=finch"Copyright © 2018 OpenZipkin. All rights reserved.