From 9a05ad4b423a380c8da711e2a2b856ee93bc9422 Mon Sep 17 00:00:00 2001 From: Kagaya Date: Tue, 10 Aug 2021 15:42:20 +0800 Subject: [PATCH] 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 75524a552..8f56653f1 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 0d3d112f7..cdc6e34ef 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