From 310b8857b2266768ccd9e1338da13c86c313ed3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E6=99=9F=20Wu=20Sheng?= Date: Fri, 3 Jul 2020 17:31:24 +0800 Subject: [PATCH] Update Java-Plugin-Development-Guide.md (#5020) Fix doc format. --- docs/en/guides/Java-Plugin-Development-Guide.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/en/guides/Java-Plugin-Development-Guide.md b/docs/en/guides/Java-Plugin-Development-Guide.md index 664974f8f..6c6aa5843 100644 --- a/docs/en/guides/Java-Plugin-Development-Guide.md +++ b/docs/en/guides/Java-Plugin-Development-Guide.md @@ -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.