Update Java-Plugin-Development-Guide.md (#5020)

Fix doc format.
This commit is contained in:
吴晟 Wu Sheng 2020-07-03 17:31:24 +08:00 committed by GitHub
parent b3c7d7296e
commit 310b8857b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -158,12 +158,12 @@ in the OAP backend analysis, some special tag or tag combination could provide o
#### Tag key `status_code`
The value should be an integer. The response code of OAL entities is according to this.
### Tag key `db.statement` and `db.type`.
#### Tag key `db.statement` and `db.type`.
The value of `db.statement` should be a String, representing the Database statement, such as SQL, or `[No statement]/`+span#operationName if value is empty.
When exit span has this tag, OAP samples the slow statements based on `receiver-trace/default/maxSlowSQLLength`.
The threshold of slow statement is defined by following [`receiver-trace/default/slowDBAccessThreshold`](../setup/backend/slow-db-statement.md)
### Extension logic endpoint. Tag key `x-le`
#### Extension logic endpoint. Tag key `x-le`
Logic endpoint is a concept, which doesn't represent a real RPC call, but requires the statistic.
The value of `x-le` should be JSON format, with two options.
1. Define a separated logic endpoint. Provide its own endpoint name, latency and status. Suitable for entry and local span.