Merge "need to set the default value for LowercaseMetricNames" into dev/experimental

This commit is contained in:
Jenkins 2014-10-08 19:18:16 +00:00 committed by Gerrit Code Review
commit a13c3cda91
2 changed files with 2 additions and 0 deletions

View File

@ -21,6 +21,7 @@ from traceback import format_exc
host = None
port = None
lowercase_metric_names = False
prefix = None
types = {}
postfix = None

View File

@ -34,6 +34,7 @@ collectd_python_plugin "kairosdb_writer" do
"KairosDBProtocol"=>node['collectd']['server']['protocol'],
"Tags" => "host=#{node['fqdn']}\" \"role=OSROLE\" \"location=China.Beijing.TsingHua\" \"cluster=#{node['cluster']}",
"TypesDB" => node['collectd']['types_db'],
"LowercaseMetricNames"=>"true"
}
options(opts)
end