Skip to content

Commit ea65970

Browse files
committed
Add PoC backend parameter
Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
1 parent 10dc0b2 commit ea65970

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/fluent/plugin/in_node_exporter_metrics.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ class NodeExporterMetricsInput < Fluent::Plugin::Input
6767
config_param :uname, :bool, default: true
6868
desc "Enable vmstat collector"
6969
config_param :vmstat, :bool, default: true
70+
desc "Use specific backend to keep metrics in it"
71+
config_param :backend, :enum, list: [:cmetrics, :prometheus], default: :cmetrics
7072

7173
def configure(conf)
7274
super

0 commit comments

Comments
 (0)