-
Notifications
You must be signed in to change notification settings - Fork 269
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
543b372
commit f33d813
Showing
6 changed files
with
439 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# # collect interval | ||
# interval = 15 | ||
|
||
enable=false # 设置为true 打开采集 | ||
#unit_include=".+" | ||
#unit_exclude="" | ||
enable_start_time_metrics=true #是否采集service unit的启动时间信息 单位秒 | ||
enable_task_metrics=true # 是否采集service unit task的metrics | ||
enable_restarts_metrics=true #是否采集service unit重启的次数信息 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# systemd 插件 | ||
自 [node_exporter](https://github.com/prometheus/node_exporter/blob/master/collector/systemd_linux.go)fork 并改动 | ||
|
||
## Configuration | ||
```toml | ||
enable=false # 设置为true 打开采集 | ||
#unit_include=".+" | ||
#unit_exclude="" | ||
enable_start_time_metrics=true #是否采集service unit的启动时间信息 单位秒 | ||
enable_task_metrics=true # 是否采集service unit task的metrics | ||
enable_restarts_metrics=true #是否采集service unit重启的次数信息 | ||
``` |
Oops, something went wrong.