添加 n9e-webapi 指标采集 (#848)

* 添加自定义发现文件

* 添加 webapi 指标
This commit is contained in:
JeffreyBool 2021-12-25 22:11:41 +08:00 committed by GitHub
parent 08c6659804
commit 991a3e2ab5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 0 deletions

View File

@ -27,3 +27,8 @@ scrape_configs:
static_configs: static_configs:
- targets: ['localhost:9090'] - targets: ['localhost:9090']
- job_name: 'file_ds'
file_sd_configs:
- files:
- targets.json

View File

@ -0,0 +1,7 @@
[
{
"targets": [
"nwebapi:18000"
]
}
]