You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by wu...@apache.org on 2022/09/11 12:16:45 UTC
[skywalking-java] branch wu-sheng-patch-1 created (now af12a1b5d5)
This is an automated email from the ASF dual-hosted git repository.
wusheng pushed a change to branch wu-sheng-patch-1
in repository https://gitbox.apache.org/repos/asf/skywalking-java.git
at af12a1b5d5 Add docs for virtual database tags
This branch includes the following new commits:
new af12a1b5d5 Add docs for virtual database tags
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[skywalking-java] 01/01: Add docs for virtual database tags
Posted by wu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
wusheng pushed a commit to branch wu-sheng-patch-1
in repository https://gitbox.apache.org/repos/asf/skywalking-java.git
commit af12a1b5d52fa4a10627e7f90dfbef8c9e5b57c4
Author: 吴晟 Wu Sheng <wu...@foxmail.com>
AuthorDate: Sun Sep 11 20:16:40 2022 +0800
Add docs for virtual database tags
---
.../java-agent/Java-Plugin-Development-Guide.md | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/docs/en/setup/service-agent/java-agent/Java-Plugin-Development-Guide.md b/docs/en/setup/service-agent/java-agent/Java-Plugin-Development-Guide.md
index 20e9ce65ec..289a20efa6 100644
--- a/docs/en/setup/service-agent/java-agent/Java-Plugin-Development-Guide.md
+++ b/docs/en/setup/service-agent/java-agent/Java-Plugin-Development-Guide.md
@@ -186,6 +186,19 @@ The value of `x-le` should be in JSON format. There are two options:
}
```
+#### Vitural Database Relative Tags
+SkyWalking analysis Database(SQL-like) performance metrics through the following tags.
+
+```java
+ public static final StringTag DB_TYPE = new StringTag(3, "db.type");
+ public static final StringTag DB_STATEMENT = new StringTag(5, "db.statement");
+```
+
+* `db.type` records database type, such as sql, cassandra, Elasticsearch.
+* `db.statement`records the sql statement of the database access.
+
+Read [backend's virtual database doc](https://skywalking.apache.org/docs/main/next/en/setup/service-agent/virtual-database/) for more details.
+
#### Vitural Cache Relative Tags
Skywalking analysis cache performance related metrics through the following tags.