未验证 提交 d982576a 编写于 作者: 何延龙 提交者: GitHub

PHP component (#4882)

上级 eb1cc71b
......@@ -22,12 +22,13 @@ This is a both-way mapping, agent or SDK could use the value(ID) to represent th
- languages: Program languages may use this component. Multi languages should be separated by `,`
### ID rules
- Java and multi languages shared: (0, 3000]
- .NET Platform reserved: (3000, 4000]
- Node.js Platform reserved: (4000, 5000]
- Go reserved: (5000, 6000]
- PHP reserved: (6000, 7000]
- Python reserved: (7000, 8000]
- Java and multi languages shared: (0, 3000)
- .NET Platform reserved: [3000, 4000)
- Node.js Platform reserved: [4000, 5000)
- Go reserved: [5000, 6000)
- Lua reserved: [6000, 7000)
- Python reserved: [7000, 8000)
- PHP reserved: [8000, 9000)
Example
```yaml
......@@ -62,4 +63,4 @@ Component-Server-Mappings:
Npgsql: PostgreSQL
MySqlConnector: Mysql
EntityFrameworkCore.InMemory: InMemoryDatabase
```
\ No newline at end of file
```
......@@ -52,7 +52,7 @@ ORACLE:
languages: Java
Redis:
id: 7
languages: Java,C#,Node.js
languages: Java,C#,Node.js,PHP
Motan:
id: 8
languages: Java
......@@ -91,7 +91,7 @@ JettyServer:
languages: Java
Memcached:
id: 20
languages: Java
languages: Java,PHP
ShardingJDBC:
id: 21
languages: Java
......@@ -100,7 +100,7 @@ PostgreSQL:
languages: Java,C#,Node.js
GRPC:
id: 23
languages: Java
languages: Java,PHP
ElasticJob:
id: 24
languages: Java
......@@ -378,11 +378,35 @@ Nginx:
id: 6000
languages: Lua
# [7000, 8000) are reserved for Python components
Python:
id: 7000
languages: Python
# PHP components
# [8000, 9000) for PHP agent
PHP:
id: 8001
languages: PHP
cURL:
id: 8002
languages: PHP
PDO:
id: 8003
languages: PHP
Mysqli:
id: 8004
languages: PHP
Yar:
id: 8005
languages: PHP
Predis:
id: 8006
languages: PHP
# Component Server mapping defines the server display names of some components
# e.g.
# Jedis is a client library in Java for Redis server
......@@ -421,3 +445,5 @@ Component-Server-Mappings:
pulsar-consumer: Pulsar
rest-high-level-client: Elasticsearch
mariadb-jdbc: Mariadb
Mysqli: Mysql
Predis: Redis
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册