mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-06-13 21:54:13 +08:00
metric-api: Add config options doc
This commit is contained in:
parent
7363f49ae3
commit
d98115dd9a
@ -23,4 +23,5 @@
|
|||||||
|--------------|----------------------------|
|
|--------------|----------------------------|
|
||||||
| `cache_file` | [Cache File](./cache-file/) |
|
| `cache_file` | [Cache File](./cache-file/) |
|
||||||
| `clash_api` | [Clash API](./clash-api/) |
|
| `clash_api` | [Clash API](./clash-api/) |
|
||||||
|
| `metric_api` | [Metric API](./metric-api/) |
|
||||||
| `v2ray_api` | [V2Ray API](./v2ray-api/) |
|
| `v2ray_api` | [V2Ray API](./v2ray-api/) |
|
@ -12,6 +12,7 @@
|
|||||||
"experimental": {
|
"experimental": {
|
||||||
"cache_file": {},
|
"cache_file": {},
|
||||||
"clash_api": {},
|
"clash_api": {},
|
||||||
|
"metrics": {},
|
||||||
"v2ray_api": {}
|
"v2ray_api": {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -20,7 +21,8 @@
|
|||||||
### 字段
|
### 字段
|
||||||
|
|
||||||
| 键 | 格式 |
|
| 键 | 格式 |
|
||||||
|--------------|--------------------------|
|
|--------------|------------------------------|
|
||||||
| `cache_file` | [缓存文件](./cache-file/) |
|
| `cache_file` | [缓存文件](./cache-file/) |
|
||||||
| `clash_api` | [Clash API](./clash-api/) |
|
| `clash_api` | [Clash API](./clash-api/) |
|
||||||
|
| `metric_api` | [Metric API](./metric-api/) |
|
||||||
| `v2ray_api` | [V2Ray API](./v2ray-api/) |
|
| `v2ray_api` | [V2Ray API](./v2ray-api/) |
|
@ -3,8 +3,10 @@
|
|||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
|
"metrics": {
|
||||||
"listen": ":8080",
|
"listen": ":8080",
|
||||||
"path": "/metrics"
|
"path": "/metrics"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -3,8 +3,10 @@
|
|||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
|
"metrics": {
|
||||||
"listen": ":8080",
|
"listen": ":8080",
|
||||||
"path": "/metrics"
|
"path": "/metrics"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user