Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 7e5366c5 authored by Simon Delamare's avatar Simon Delamare
Browse files

[lib] Add support for kwollect scale_factor

parent 4cc0de88
No related branches found
No related tags found
No related merge requests found
...@@ -23,6 +23,9 @@ neteq.fetch('metrics', []).each {|metric| ...@@ -23,6 +23,9 @@ neteq.fetch('metrics', []).each {|metric|
<%- if metric['period'] == 0 -%> <%- if metric['period'] == 0 -%>
optional: true optional: true
<%- end -%> <%- end -%>
<%- if metric.has_key?('scale_factor') -%>
scale_factor: <%= metric['scale_factor'] %>
<%- end -%>
<%- <%-
} }
...@@ -36,6 +39,9 @@ neteq.fetch('metrics', []).each {|metric| ...@@ -36,6 +39,9 @@ neteq.fetch('metrics', []).each {|metric|
<%- if metric['period'] == 0 -%> <%- if metric['period'] == 0 -%>
optional: true optional: true
<%- end -%> <%- end -%>
<%- if metric.has_key?('scale_factor') -%>
scale_factor: <%= metric['scale_factor'] %>
<%- end -%>
<%- <%-
end end
......
...@@ -25,6 +25,9 @@ cluster.fetch('metrics', []).each {|metric| ...@@ -25,6 +25,9 @@ cluster.fetch('metrics', []).each {|metric|
<%- if metric['period'] == 0 -%> <%- if metric['period'] == 0 -%>
optional: true optional: true
<%- end -%> <%- end -%>
<%- if metric.has_key?('scale_factor') -%>
scale_factor: <%= metric['scale_factor'] %>
<%- end -%>
<%- <%-
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment