Skip navigation links
A C E F G I N P S T 

A

addMetadata(String, String) - Method in class eu.plumbr.api.noop.NullSpan
 
addMetadata(String, String) - Method in interface eu.plumbr.api.Span
Add metadata with the specified name to the span.
API_VERSION - Static variable in class eu.plumbr.api.Plumbr
 
API_VERSION - Static variable in class eu.plumbr.api.SpanSerializer
 

C

createChildSpan() - Method in class eu.plumbr.api.noop.NullSpan
 
createChildSpan() - Method in interface eu.plumbr.api.Span
Create the child span within the transaction of this span.

E

eu.plumbr.api - package eu.plumbr.api
Main classes and interfaces for the Plumbr Java Agent API.
eu.plumbr.api.noop - package eu.plumbr.api.noop
Null-safe empty implementation of the Agent API.

F

fail(Throwable) - Method in class eu.plumbr.api.noop.NullSpan
 
fail(Throwable, boolean) - Method in class eu.plumbr.api.noop.NullSpan
 
fail(Throwable) - Method in interface eu.plumbr.api.Span
Mark current span as finished with failure and associate the throwable as the root cause.
fail(Throwable, boolean) - Method in interface eu.plumbr.api.Span
Mark current span as finished with failure and associate the throwable as the root cause.
finish() - Method in class eu.plumbr.api.noop.NullSpan
 
finish() - Method in interface eu.plumbr.api.Span
Mark the span as successfully finished.
finishChildSpan(Span) - Method in class eu.plumbr.api.noop.NullSpan
 
finishChildSpan(Span) - Method in interface eu.plumbr.api.Span
Indicate that the child span is finished.
fromBase64(String) - Static method in class eu.plumbr.api.SpanSerializer
Deserializes a Span from a base-64 string representation.
fromByteArray(byte[]) - Static method in class eu.plumbr.api.SpanSerializer
Deserializes a Span from a byte array.

G

getAppName() - Method in class eu.plumbr.api.noop.NullSpan
 
getAppName() - Method in interface eu.plumbr.api.Span
Deprecated.
Instead of application name, clusterId and jvmId properties are now used to determine under which API in the UI the transaction will be listed. Always returns null on latest agent.
getCurrentSpan() - Static method in class eu.plumbr.api.Plumbr
Return currently active span, if any.
getMetadata(String) - Method in class eu.plumbr.api.noop.NullSpan
 
getMetadata(String) - Method in interface eu.plumbr.api.Span
Returns the value associated with the specified metadata field name.
getServiceName() - Method in class eu.plumbr.api.noop.NullSpan
 
getServiceName() - Method in interface eu.plumbr.api.Span
Get the service name of the current span.
getTransactionId() - Method in class eu.plumbr.api.noop.NullSpan
 
getTransactionId() - Method in interface eu.plumbr.api.Span
 
getUserId() - Method in class eu.plumbr.api.noop.NullSpan
 
getUserId() - Method in interface eu.plumbr.api.Span
Get the user ID associated with the current span.

I

isNull() - Method in class eu.plumbr.api.noop.NullSpan
 
isNull() - Method in interface eu.plumbr.api.Span
A null span is represented by an instance of a Span where this method returns true.

N

newSpan() - Static method in class eu.plumbr.api.Plumbr
Create a new transaction and return its root span.
NullSpan - Class in eu.plumbr.api.noop
Represents a null span.
NullSpan() - Constructor for class eu.plumbr.api.noop.NullSpan
 

P

Plumbr - Class in eu.plumbr.api
This class consists of static methods which can be used to either create a new Span or access the currently active Span.
Plumbr() - Constructor for class eu.plumbr.api.Plumbr
 

S

setAppName(String) - Method in class eu.plumbr.api.noop.NullSpan
 
setAppName(String) - Method in interface eu.plumbr.api.Span
Deprecated.
Instead of application name, clusterId and jvmId properties are now used to determine under which API in the UI the transaction will be listed. Has no effect on latest agent.
setServiceName(String) - Method in class eu.plumbr.api.noop.NullSpan
 
setServiceName(String) - Method in interface eu.plumbr.api.Span
Set the service name of the current span.
setUserId(String) - Method in class eu.plumbr.api.noop.NullSpan
 
setUserId(String) - Method in interface eu.plumbr.api.Span
Set the user ID for the current transaction.
Span - Interface in eu.plumbr.api
An instance of a span.
SpanSerializer - Class in eu.plumbr.api
Span serializer is intended to be used when a span needs to be serialized before transferring it to another JVM.
SpanSerializer() - Constructor for class eu.plumbr.api.SpanSerializer
 
start() - Method in class eu.plumbr.api.noop.NullSpan
 
start() - Method in interface eu.plumbr.api.Span
Start the span and make it active.

T

toBase64(Span) - Static method in class eu.plumbr.api.SpanSerializer
Serializes a Span to a base-64 string representation.
toByteArray(Span) - Static method in class eu.plumbr.api.SpanSerializer
Serializes a Span to a byte array.
A C E F G I N P S T 
Skip navigation links