Package co.elastic.apm.api
Annotation Type CaptureTransaction
Annotating a method with
@CaptureTransaction creates a Transaction for that method.
Note that this only works when there is no active transaction on the same thread.
Note: it is required to configure the application_packages, otherwise this annotation will be ignored.
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionThe type of the transaction.The name of theTransaction.
-
Element Details
-
value
String valueThe name of theTransaction. Defaults to theClassName#methodName- Default:
- ""
-
type
String typeThe type of the transaction.- Default:
- "request"
-