templates/calyptia-conf.erb in fluent-plugin-calyptia-monitoring-0.1.0.rc9 vs templates/calyptia-conf.erb in fluent-plugin-calyptia-monitoring-0.1.0
- old
+ new
@@ -2,20 +2,25 @@
<metrics>
@type cmetrics
</metrics>
enable_input_metrics <%= @enable_input_metrics %>
enable_size_metrics <%= @enable_size_metrics %>
+<%- unless @disable_rpc -%>
rpc_endpoint <%= @rpc_endpoint %>
enable_get_dump <%= @enable_get_dump %>
+<%- end -%>
<system>
<source>
@type calyptia_monitoring
@id input_caplyptia_monitoring
<cloud_monitoring>
<%- if @endpoint -%>
endpoint <%= @endpoint %>
<%- end -%>
api_key <%= @api_key %>
+<%- if @fluentd_conf_path -%>
+ fluentd_conf_path <%= @fluentd_conf_path %>
+<%- end -%>
</cloud_monitoring>
<storage>
@type local
path <%= @storage_agent_token_dir %>/agent_state
</storage>
\ No newline at end of file