Index

B C F G H I L N O P S T V 
All Classes and Interfaces|All Packages|Constant Field Values

B

builder() - Static method in class com.palantir.tracing.api.OpenSpan
Indicates if this trace state was sampled public abstract boolean isSampled();
builder() - Static method in class com.palantir.tracing.api.Span
 
Builder() - Constructor for class com.palantir.tracing.api.OpenSpan.Builder
 
Builder() - Constructor for class com.palantir.tracing.api.Span.Builder
 

C

CLIENT_OUTGOING - Enum constant in enum class com.palantir.tracing.api.SpanType
Indicates that this is the innermost span encapsulating remote work, typically the last span opened by an RPC client.
com.palantir.tracing.api - package com.palantir.tracing.api
 
consume(Span) - Method in interface com.palantir.tracing.api.SpanObserver
 

F

FOR_USER_AGENT - Static variable in interface com.palantir.tracing.api.TraceHttpHeaders
 

G

getDurationNanoSeconds() - Method in class com.palantir.tracing.api.Span
 
getMetadata() - Method in class com.palantir.tracing.api.Span
Returns a map of custom key-value metadata with which spans will be annotated.
getOperation() - Method in class com.palantir.tracing.api.OpenSpan
Returns a description of the operation for this event.
getOperation() - Method in class com.palantir.tracing.api.Span
 
getOriginatingSpanId() - Method in class com.palantir.tracing.api.OpenSpan
Deprecated.
No longer used.
getParentSpanId() - Method in class com.palantir.tracing.api.OpenSpan
Returns the identifier of the parent span for the current span, if one exists.
getParentSpanId() - Method in class com.palantir.tracing.api.Span
 
getSpanId() - Method in class com.palantir.tracing.api.OpenSpan
Returns a globally unique identifier representing a single span within the call trace.
getSpanId() - Method in class com.palantir.tracing.api.Span
 
getStartClockNanoSeconds() - Method in class com.palantir.tracing.api.OpenSpan
Returns the starting clock position in nanoseconds for use in computing span duration.
getStartTimeMicroSeconds() - Method in class com.palantir.tracing.api.OpenSpan
Returns the start time in microseconds since epoch start of the span represented by this state.
getStartTimeMicroSeconds() - Method in class com.palantir.tracing.api.Span
 
getTraceId() - Method in class com.palantir.tracing.api.Span
 

H

HTTP_FOR_USER_AGENT - Static variable in class com.palantir.tracing.api.TraceTags
The User-Agent propagated across service boundaries as it is sent (raw format).
HTTP_METHOD - Static variable in class com.palantir.tracing.api.TraceTags
Indicates the desired action to be performed for a given resource.
HTTP_REFERER - Static variable in class com.palantir.tracing.api.TraceTags
HTTP header field that identifies the address of the webpage that linked to the resource being requested.
HTTP_REQUEST_ID - Static variable in class com.palantir.tracing.api.TraceTags
The ID of the HTTP request.
HTTP_STATUS_CODE - Static variable in class com.palantir.tracing.api.TraceTags
The HTTP response status code.
HTTP_URL_PATH_TEMPLATE - Static variable in class com.palantir.tracing.api.TraceTags
The HTTP path part of the URL.
HTTP_URL_PORT - Static variable in class com.palantir.tracing.api.TraceTags
The HTTP port part of the URL.
HTTP_URL_SCHEME - Static variable in class com.palantir.tracing.api.TraceTags
The protocol name of the URL (HTTP or HTTPS).
HTTP_USER_AGENT - Static variable in class com.palantir.tracing.api.TraceTags
The User-Agent as it is sent (raw format).
HTTP_USER_AGENT_BROWSER_FAMILY - Static variable in class com.palantir.tracing.api.TraceTags
The Browser Family reported by the User-Agent.
HTTP_USER_AGENT_DEVICE_FAMILY - Static variable in class com.palantir.tracing.api.TraceTags
The Device family reported by the User-Agent.
HTTP_USER_AGENT_OS_FAMILY - Static variable in class com.palantir.tracing.api.TraceTags
The OS family reported by the User-Agent.
HTTP_VERSION - Static variable in class com.palantir.tracing.api.TraceTags
The version of HTTP used for the request.

I

IS_SAMPLED - Static variable in interface com.palantir.tracing.api.TraceHttpHeaders
 

L

LOCAL - Enum constant in enum class com.palantir.tracing.api.SpanType
Indicates a local method call or computation that does not involve RPC.

N

NETWORK_BYTES_READ - Static variable in class com.palantir.tracing.api.TraceTags
Total number of bytes transmitted from the client to the server when the log is emitted.
NETWORK_BYTES_WRITTEN - Static variable in class com.palantir.tracing.api.TraceTags
Total number of bytes transmitted from the server to the client when the log is emitted.
NETWORK_CLIENT_PORT - Static variable in class com.palantir.tracing.api.TraceTags
The port of the client that initiated the connection.
NETWORK_DESTINATION_PORT - Static variable in class com.palantir.tracing.api.TraceTags
The TCP port the client connected to.

O

of(String, String, SpanType, Optional) - Static method in class com.palantir.tracing.api.OpenSpan
Use this factory method to avoid OpenSpan.Builder allocations in hot paths.
of(String, String, SpanType, Optional, Optional) - Static method in class com.palantir.tracing.api.OpenSpan
Deprecated.
Use the variant without an originating span id
OpenSpan - Class in com.palantir.tracing.api
A value object represented an open (i.e., non-completed) span.
OpenSpan() - Constructor for class com.palantir.tracing.api.OpenSpan
 
OpenSpan.Builder - Class in com.palantir.tracing.api
 
ORIGINATING_SPAN_ID - Static variable in interface com.palantir.tracing.api.TraceHttpHeaders
Deprecated.
No longer used

P

PARENT_REQUEST_ID - Static variable in interface com.palantir.tracing.api.TraceHttpHeaders
The Parent-Request-Id header represents the requestId of the caller, if present.
PARENT_SPAN_ID - Static variable in interface com.palantir.tracing.api.TraceHttpHeaders
Deprecated.
No longer used

S

SERVER_INCOMING - Enum constant in enum class com.palantir.tracing.api.SpanType
Indicates that this span encapsulates server-side work of an RPC call.
Span - Class in com.palantir.tracing.api
A value class representing a completed Span, see OpenSpan for a description of the fields.
Span() - Constructor for class com.palantir.tracing.api.Span
 
SPAN_ID - Static variable in interface com.palantir.tracing.api.TraceHttpHeaders
 
Span.Builder - Class in com.palantir.tracing.api
 
SpanObserver - Interface in com.palantir.tracing.api
Represents the event receiver for span completion events.
SpanType - Enum Class in com.palantir.tracing.api
 

T

TRACE_ID - Static variable in interface com.palantir.tracing.api.TraceHttpHeaders
 
TraceHttpHeaders - Interface in com.palantir.tracing.api
HTTP header names used by tracing-java.
TraceTags - Class in com.palantir.tracing.api
A set of standard tracing tags meant to be reused where applicable.
type() - Method in class com.palantir.tracing.api.OpenSpan
Indicates the SpanType of this span, e.g., a server-side vs.
type() - Method in class com.palantir.tracing.api.Span
 

V

valueOf(String) - Static method in enum class com.palantir.tracing.api.SpanType
Returns the enum constant of this class with the specified name.
values() - Static method in enum class com.palantir.tracing.api.SpanType
Returns an array containing the constants of this enum class, in the order they are declared.
B C F G H I L N O P S T V 
All Classes and Interfaces|All Packages|Constant Field Values