mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-03-18 12:34:25 +00:00
metric-api: Add config options doc
This commit is contained in:
parent
7363f49ae3
commit
d98115dd9a
4 changed files with 18 additions and 11 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
!!! quote "Changes in sing-box 1.8.0"
|
||||
|
||||
:material-plus: [cache_file](#cache_file)
|
||||
:material-plus: [cache_file](#cache_file)
|
||||
:material-alert-decagram: [clash_api](#clash_api)
|
||||
|
||||
### Structure
|
||||
|
@ -23,4 +23,5 @@
|
|||
|--------------|----------------------------|
|
||||
| `cache_file` | [Cache File](./cache-file/) |
|
||||
| `clash_api` | [Clash API](./clash-api/) |
|
||||
| `v2ray_api` | [V2Ray API](./v2ray-api/) |
|
||||
| `metric_api` | [Metric API](./metric-api/) |
|
||||
| `v2ray_api` | [V2Ray API](./v2ray-api/) |
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
!!! quote "sing-box 1.8.0 中的更改"
|
||||
|
||||
:material-plus: [cache_file](#cache_file)
|
||||
:material-plus: [cache_file](#cache_file)
|
||||
:material-alert-decagram: [clash_api](#clash_api)
|
||||
|
||||
### 结构
|
||||
|
@ -12,6 +12,7 @@
|
|||
"experimental": {
|
||||
"cache_file": {},
|
||||
"clash_api": {},
|
||||
"metrics": {},
|
||||
"v2ray_api": {}
|
||||
}
|
||||
}
|
||||
|
@ -19,8 +20,9 @@
|
|||
|
||||
### 字段
|
||||
|
||||
| 键 | 格式 |
|
||||
|--------------|--------------------------|
|
||||
| 键 | 格式 |
|
||||
|--------------|------------------------------|
|
||||
| `cache_file` | [缓存文件](./cache-file/) |
|
||||
| `clash_api` | [Clash API](./clash-api/) |
|
||||
| `v2ray_api` | [V2Ray API](./v2ray-api/) |
|
||||
| `clash_api` | [Clash API](./clash-api/) |
|
||||
| `metric_api` | [Metric API](./metric-api/) |
|
||||
| `v2ray_api` | [V2Ray API](./v2ray-api/) |
|
||||
|
|
|
@ -3,8 +3,10 @@
|
|||
|
||||
```json
|
||||
{
|
||||
"listen": ":8080",
|
||||
"path": "/metrics"
|
||||
"metrics": {
|
||||
"listen": ":8080",
|
||||
"path": "/metrics"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
@ -3,8 +3,10 @@
|
|||
|
||||
```json
|
||||
{
|
||||
"listen": ":8080",
|
||||
"path": "/metrics"
|
||||
"metrics": {
|
||||
"listen": ":8080",
|
||||
"path": "/metrics"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue