Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
润土的好友猹
SkyWalking
提交
16d441f6
S
SkyWalking
项目概览
润土的好友猹
/
SkyWalking
与 Fork 源项目一致
Fork自
apache / SkyWalking
通知
9
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
SkyWalking
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
16d441f6
编写于
4月 12, 2021
作者:
W
Wing
提交者:
GitHub
4月 12, 2021
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Refine Component-library-settings.md (#6734)
上级
64ff0305
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
13 addition
and
13 deletion
+13
-13
docs/en/guides/Component-library-settings.md
docs/en/guides/Component-library-settings.md
+13
-13
未找到文件。
docs/en/guides/Component-library-settings.md
浏览文件 @
16d441f6
# Component library settings
# Component library settings
Component library settings are about your own or
3rd part libraries used in
monitored application.
Component library settings are about your own or
third-party libraries used in the
monitored application.
In agent or SDK,
no matter library name collected as ID or String(literally, e.g. SpringMVC),
collector
In agent or SDK,
regardless of whether the library name is collected as ID or String (literally, e.g. SpringMVC), the
collector
formats data in ID for better performance and less storage requirements.
formats data in ID for better performance and less storage requirements.
Also,
collector conjectures the remote service based on the component library, such as:
Also,
the collector conjectures the remote service based on the component library. For example: if
the component library is MySQL Driver library, then the remote service should be MySQL Server.
the component library is MySQL Driver library, then the remote service should be MySQL Server.
For th
ose two reasons, collector require
two parts of settings in this file:
For th
ese two reasons, the collector requires
two parts of settings in this file:
1.
Component
Library id, name
and languages.
1.
Component
library ID, names
and languages.
1.
Remote server mapping
, based on
local library.
1.
Remote server mapping
based on the
local library.
**All component names and IDs must be defined in this file.**
**All component names and IDs must be defined in this file.**
## Component Library
id
## Component Library
ID
Define all
component libraries' names and IDs, used in
monitored application.
Define all
names and IDs from component libraries which are used in the
monitored application.
This
is a both-way mapping, agent or SDK could use the value
(ID) to represent the component name in uplink data.
This
uses a two-way mapping strategy. The agent or SDK could use the value
(ID) to represent the component name in uplink data.
-
Name: the component name used in agent and UI
-
Name: the component name used in agent and UI
-
id: Unique ID. All IDs are reserved, once it is
released.
-
ID: Unique ID. All IDs are reserved once they are
released.
-
languages: Program languages may use this component. Multi languages should be separated by
`,`
-
Languages: Program languages may use this component. Multi languages should be separated by
`,`
.
### ID rules
### ID rules
-
Java and multi languages shared: (0, 3000)
-
Java and multi languages shared: (0, 3000)
...
@@ -31,7 +31,7 @@ This is a both-way mapping, agent or SDK could use the value(ID) to represent th
...
@@ -31,7 +31,7 @@ This is a both-way mapping, agent or SDK could use the value(ID) to represent th
-
PHP reserved: [8000, 9000)
-
PHP reserved: [8000, 9000)
-
C++ reserved: [9000, 10000)
-
C++ reserved: [9000, 10000)
Example
Example
:
```
yaml
```
yaml
Tomcat
:
Tomcat
:
id
:
1
id
:
1
...
@@ -48,7 +48,7 @@ H2:
...
@@ -48,7 +48,7 @@ H2:
```
```
## Remote server mapping
## Remote server mapping
Remote server will be conjectured by the local component. The mappings are based on Component library names
.
The remote server will be conjectured by the local component. The mappings are based on names in the component library
.
-
Key: client component library name
-
Key: client component library name
-
Value: server component name
-
Value: server component name
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录