Skip to content

Commit

Permalink
Improve component-libraries documentation (#12814)
Browse files Browse the repository at this point in the history
  • Loading branch information
wuwen5 authored Nov 29, 2024
1 parent b832137 commit f6a821a
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/en/changes/changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,6 @@
#### Documentation
* Update release document to adopt newly added revision-based process.
* Improve BanyanDB documentation.
* Improve component-libraries documentation.

All issues and pull requests are [here](https://github.com/apache/skywalking/milestone/224?closed=1)
30 changes: 30 additions & 0 deletions docs/en/guides/Component-library-settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,36 @@ H2:
languages: Java
```
## Component Library Priority
Component ID priority represents the component is degree of closeness between the library and business codes
The higher the atomic number, the higher the priority, which mean it is closer to the business codes,
further away from OS kernel or general Computer Science concept.
The range of priorities is [0, 100], both sided included. 0 is the lowest priority.
To keep forward compatibility, the default(when not set) priority is 50.
For example, a typical priority sequence is TCP < TLS(TCP) < RPC < HTTP < HTTPS < gRPC/SpringMVC/Dubbo
Example:
```yaml
Unknown:
id: 0
language: All
priority: 0
tcp:
id: 110
languages: Java
priority: 10
https:
id: 129
languages: ebpf
priority: 46
tls:
id: 130
languages: ebpf, mesh
priority: 11
```
## Remote server mapping
The remote server will be conjectured by the local component. The mappings are based on names in the component library.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
# Component ID priority represents the component is degree of closeness between the library and business codes
# The higher the atomic number, the higher the priority, which mean it is closer to the business codes,
# further away from OS kernel or general Computer Science concept.
# The range of priorities is [0, 100], both sided included. 0 is the highest priority.
# The range of priorities is [0, 100], both sided included. 0 is the lowest priority.
# To keep forward compatibility, the default(when not set) priority is 50.
# For example, a typical priority sequence is TCP < TLS(TCP) < RPC < HTTP < HTTPS < gRPC/SpringMVC/Dubbo

Expand Down

0 comments on commit f6a821a

Please sign in to comment.