| Modifier and Type | Method | Description |
|---|---|---|
Transaction |
Transaction.addTag(java.lang.String key,
java.lang.String value) |
|
static Transaction |
ElasticApm.currentTransaction() |
Returns the currently running transaction.
|
Transaction |
Transaction.setName(java.lang.String name) |
Override the name of the current transaction.
|
Transaction |
Transaction.setResult(java.lang.String result) |
A string describing the result of the transaction.
|
Transaction |
Transaction.setType(java.lang.String type) |
The type of the transaction.
|
Transaction |
Transaction.setUser(java.lang.String id,
java.lang.String email,
java.lang.String username) |
Call this to enrich collected performance data and errors with information about the user/client.
|
static Transaction |
ElasticApm.startTransaction() |
Use this method to create a custom transaction.
|
static Transaction |
ElasticApm.startTransactionWithRemoteParent(HeaderExtractor headerExtractor) |
Similar to
ElasticApm.startTransaction() but creates this transaction as the child of a remote parent. |
static Transaction |
ElasticApm.startTransactionWithRemoteParent(HeaderExtractor headerExtractor,
HeadersExtractor headersExtractor) |
Similar to
ElasticApm.startTransaction() but creates this transaction as the child of a remote parent. |
Copyright © 2018–2019 Elastic Inc.. All rights reserved.