From 5b4da0fa2d8da5df4a8d1a030fafe4392f21e2f1 Mon Sep 17 00:00:00 2001 From: gilzellner Date: Mon, 29 Feb 2016 18:34:19 +0200 Subject: [PATCH] CFY-4985-reporting-time-30s-instead-of-1s --- blueprint.yaml | 6 +++++- ec2-blueprint.yaml | 6 +++++- singlehost-blueprint.yaml | 6 +++++- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/blueprint.yaml b/blueprint.yaml index a1aa59e5..15bcc9ca 100644 --- a/blueprint.yaml +++ b/blueprint.yaml @@ -20,6 +20,10 @@ inputs: description: Openstack image name or id to use for the new server flavor: description: Openstack flavor name or id to use for the new server + diamond_reporting_interval: + description: interval in seconds for reporting metrics by diamond agent + type: integer + default: 10 node_templates: virtual_ip: @@ -54,7 +58,7 @@ node_templates: implementation: diamond.diamond_agent.tasks.install inputs: diamond_config: - interval: 1 + interval: { get_input: diamond_reporting_interval } start: diamond.diamond_agent.tasks.start stop: diamond.diamond_agent.tasks.stop uninstall: diamond.diamond_agent.tasks.uninstall diff --git a/ec2-blueprint.yaml b/ec2-blueprint.yaml index da1a8a55..272cc265 100644 --- a/ec2-blueprint.yaml +++ b/ec2-blueprint.yaml @@ -22,6 +22,10 @@ inputs: instance_type: description: AWS EC2 instance type to use for the server default: m3.medium + diamond_reporting_interval: + description: interval in seconds for reporting metrics by diamond agent + type: integer + default: 10 node_templates: elastic_ip: @@ -60,7 +64,7 @@ node_templates: implementation: diamond.diamond_agent.tasks.install inputs: diamond_config: - interval: 1 + interval: { get_input: diamond_reporting_interval } start: diamond.diamond_agent.tasks.start stop: diamond.diamond_agent.tasks.stop uninstall: diamond.diamond_agent.tasks.uninstall diff --git a/singlehost-blueprint.yaml b/singlehost-blueprint.yaml index 0c5579b3..c887294f 100644 --- a/singlehost-blueprint.yaml +++ b/singlehost-blueprint.yaml @@ -22,6 +22,10 @@ inputs: description: > The HTTP web server port. default: 8080 + diamond_reporting_interval: + description: interval in seconds for reporting metrics by diamond agent + type: integer + default: 10 node_templates: vm: @@ -43,7 +47,7 @@ node_templates: implementation: diamond.diamond_agent.tasks.install inputs: diamond_config: - interval: 1 + interval: { get_input: diamond_reporting_interval } start: diamond.diamond_agent.tasks.start stop: diamond.diamond_agent.tasks.stop uninstall: diamond.diamond_agent.tasks.uninstall