Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/public-api.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ The public API of the Elastic APM Java agent lets you
customize and manually create spans and transactions,
as well as track errors.

The first step in getting started with the API ist to declare a dependency to the API:
The first step in getting started with the API is to declare a dependency to the API:

[source,xml]
.pom.xml
Expand Down Expand Up @@ -91,7 +91,7 @@ Example:

[source,java]
----
Transaction transaction = tracer.startTransaction()
Transaction transaction = ElasticApm.startTransaction();
try {
transaction.setName("MyController#myAction");
span.setType(Transaction.TYPE_REQUEST);
Expand All @@ -115,7 +115,7 @@ Example:

[source,java]
----
Span span = tracer.startSpan()
Span span = ElasticApm.startSpan();
try {
span.setName("SELECT FROM customer");
span.setType("db.mysql.query");
Expand Down