A C E G I N S T V 

A

activate() - Method in interface co.elastic.apm.api.Span
Makes this span the active span on the current thread until Scope.close() has been called.
activate() - Method in interface co.elastic.apm.api.Transaction
Makes this transaction the active transaction on the current thread until Scope.close() has been called.
addTag(String, String) - Method in interface co.elastic.apm.api.Span
A flat mapping of user-defined tags with string values.

C

captureException(Throwable) - Static method in class co.elastic.apm.api.ElasticApm
captureException(Throwable) - Method in interface co.elastic.apm.api.Span
 
CaptureSpan - Annotation Type in co.elastic.apm.api
Annotating a method with @CaptureSpan creates a Span as the child of the currently active span or transaction (ElasticApm.currentSpan()).
CaptureTransaction - Annotation Type in co.elastic.apm.api
Annotating a method with @CaptureTransaction creates a Transaction for that method.
close() - Method in enum co.elastic.apm.api.NoopScope
 
close() - Method in interface co.elastic.apm.api.Scope
Closing a scope removes the corresponding Span from the current thread.
close() - Method in class co.elastic.apm.api.ScopeImpl
 
co.elastic.apm.api - package co.elastic.apm.api
Contains the public API of the Elastic APM Java agent.
createSpan() - Method in interface co.elastic.apm.api.Span
Start and return a new custom span as a child of this span.
createSpan() - Method in interface co.elastic.apm.api.Transaction
Start and return a new custom span as a child of this transaction.
currentSpan() - Static method in class co.elastic.apm.api.ElasticApm
Returns the currently active span or transaction.
currentTransaction() - Static method in class co.elastic.apm.api.ElasticApm
Returns the currently running transaction.

E

ElasticApm - Class in co.elastic.apm.api
This class is the main entry point of the public API for the Elastic APM agent.
end() - Method in interface co.elastic.apm.api.Span
Ends the span and schedules it to be reported to the APM Server.
end() - Method in interface co.elastic.apm.api.Transaction
End tracking the transaction.
ensureParentId() - Method in interface co.elastic.apm.api.Transaction
If the transaction does not have a parent-ID yet, calling this method generates a new ID, sets it as the parent-ID of this transaction, and returns it as a `String`.

G

getId() - Method in interface co.elastic.apm.api.Span
Returns the id of this span (never null)
getId() - Method in interface co.elastic.apm.api.Transaction
Returns the id of this transaction (never null)
getTraceId() - Method in interface co.elastic.apm.api.Span
Returns the id of this trace (never null)

I

INSTANCE - co.elastic.apm.api.NoopScope
 

N

NoopScope - Enum in co.elastic.apm.api
 

S

Scope - Interface in co.elastic.apm.api
Scopes are designed to be used in combination with try-with-resource statements to remove activated spans from the current thread.
ScopeImpl - Class in co.elastic.apm.api
 
setName(String) - Method in interface co.elastic.apm.api.Span
The name of the span.
setName(String) - Method in interface co.elastic.apm.api.Transaction
Override the name of the current transaction.
setType(String) - Method in interface co.elastic.apm.api.Span
Sets the type of span.
setType(String) - Method in interface co.elastic.apm.api.Transaction
The type of the transaction.
setUser(String, String, String) - Method in interface co.elastic.apm.api.Transaction
Call this to enrich collected performance data and errors with information about the user/client.
Span - Interface in co.elastic.apm.api
A span contains information about a specific code path, executed as part of a Transaction.
startTransaction() - Static method in class co.elastic.apm.api.ElasticApm
Use this method to create a custom transaction.

T

Transaction - Interface in co.elastic.apm.api
A transaction is the data captured by an agent representing an event occurring in a monitored service and groups multiple spans in a logical group.
type() - Method in annotation type co.elastic.apm.api.CaptureSpan
Sets the type of span.
type() - Method in annotation type co.elastic.apm.api.CaptureTransaction
The type of the transaction.
TYPE_REQUEST - Static variable in interface co.elastic.apm.api.Transaction
 

V

value() - Method in annotation type co.elastic.apm.api.CaptureSpan
The name of the Span.
value() - Method in annotation type co.elastic.apm.api.CaptureTransaction
The name of the Transaction.
valueOf(String) - Static method in enum co.elastic.apm.api.NoopScope
Returns the enum constant of this type with the specified name.
values() - Static method in enum co.elastic.apm.api.NoopScope
Returns an array containing the constants of this enum type, in the order they are declared.
A C E G I N S T V 
Skip navigation links

Copyright © 2018 Elastic Inc.. All rights reserved.