mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 21:24:31 +04:00
collectd: Add write_prometheus uci config
Included with default options used by collectd Signed-off-by: Xiao Yu <me@xyu.io>
This commit is contained in:
@@ -230,3 +230,9 @@ config globals 'globals'
|
|||||||
# option blocktype 'Subscribe'
|
# option blocktype 'Subscribe'
|
||||||
# option Host 'localhost'
|
# option Host 'localhost'
|
||||||
# option Topic 'collectd/#'
|
# option Topic 'collectd/#'
|
||||||
|
|
||||||
|
#config plugin 'write_prometheus'
|
||||||
|
# option enable '0'
|
||||||
|
# option Host '0.0.0.0'
|
||||||
|
# option Port '9103'
|
||||||
|
# option StalenessDelta '300'
|
||||||
|
|||||||
@@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"string": [
|
||||||
|
"Host",
|
||||||
|
"Port",
|
||||||
|
"StalenessDelta"
|
||||||
|
]
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user