You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by ke...@apache.org on 2021/08/10 07:42:30 UTC

[skywalking] branch master updated: Add component id for go-kratos & go-mysql (#7428)

This is an automated email from the ASF dual-hosted git repository.

kezhenxu94 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking.git


The following commit(s) were added to refs/heads/master by this push:
     new 9a05ad4  Add component id for go-kratos & go-mysql (#7428)
9a05ad4 is described below

commit 9a05ad4b423a380c8da711e2a2b856ee93bc9422
Author: Kagaya <ka...@outlook.com>
AuthorDate: Tue Aug 10 15:42:20 2021 +0800

    Add component id for go-kratos & go-mysql (#7428)
---
 CHANGES.md                                                   |  1 +
 .../src/main/resources/component-libraries.yml               | 12 ++++++++++++
 2 files changed, 13 insertions(+)

diff --git a/CHANGES.md b/CHANGES.md
index 75524a5..8f56653 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -24,6 +24,7 @@ Release Notes.
   performance impact.
 * Remove `version` and `endTime` in the segment entity. Reduce indexing payload. 
 * Fix `mapper_parsing_exception` in ElasticSearch 7.14.
+* Support component IDs for Go-Kratos framework.
 
 #### UI
 
diff --git a/oap-server/server-bootstrap/src/main/resources/component-libraries.yml b/oap-server/server-bootstrap/src/main/resources/component-libraries.yml
index 0d3d112..cdc6e34 100755
--- a/oap-server/server-bootstrap/src/main/resources/component-libraries.yml
+++ b/oap-server/server-bootstrap/src/main/resources/component-libraries.yml
@@ -476,6 +476,15 @@ GoMicroClient:
 GoMicroServer:
   id: 5009
   languages: Golang
+GoKratosServer:
+  id: 5010
+  languages: Golang
+GoKratosClient:
+  id: 5011
+  languages: Golang
+GoMysql:
+  id: 5012
+  languages: Golang
 
 # Lua components
 # [6000, 7000) for Lua agent
@@ -608,3 +617,6 @@ Component-Server-Mappings:
   spring-kafka-consumer: kafka-consumer
   mssql-jdbc-driver: SqlServer
   Psychopg: PostgreSQL
+  GoKratosClient: Kratos
+  GoKratosServer: Kratos
+  GoMysql: Mysql