Skip to content

Commit 19d7a81

Browse files
committed
CFY-4985-reporting-time-30s-instead-of-1s
1 parent 6d9aeeb commit 19d7a81

File tree

3 files changed

+15
-3
lines changed

3 files changed

+15
-3
lines changed

blueprint.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ inputs:
2020
description: Openstack image name or id to use for the new server
2121
flavor:
2222
description: Openstack flavor name or id to use for the new server
23+
diamond_reporting_interval:
24+
description: interval in seconds for reporting metrics by diamond agent
25+
type: integer
26+
default: 10
2327

2428
node_templates:
2529
virtual_ip:
@@ -54,7 +58,7 @@ node_templates:
5458
implementation: diamond.diamond_agent.tasks.install
5559
inputs:
5660
diamond_config:
57-
interval: 1
61+
interval: { get_input: diamond_reporting_interval }
5862
start: diamond.diamond_agent.tasks.start
5963
stop: diamond.diamond_agent.tasks.stop
6064
uninstall: diamond.diamond_agent.tasks.uninstall

ec2-blueprint.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ inputs:
2222
instance_type:
2323
description: AWS EC2 instance type to use for the server
2424
default: m3.medium
25+
diamond_reporting_interval:
26+
description: interval in seconds for reporting metrics by diamond agent
27+
type: integer
28+
default: 10
2529

2630
node_templates:
2731
elastic_ip:
@@ -60,7 +64,7 @@ node_templates:
6064
implementation: diamond.diamond_agent.tasks.install
6165
inputs:
6266
diamond_config:
63-
interval: 1
67+
interval: { get_input: diamond_reporting_interval }
6468
start: diamond.diamond_agent.tasks.start
6569
stop: diamond.diamond_agent.tasks.stop
6670
uninstall: diamond.diamond_agent.tasks.uninstall

singlehost-blueprint.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ inputs:
2222
description: >
2323
The HTTP web server port.
2424
default: 8080
25+
diamond_reporting_interval:
26+
description: interval in seconds for reporting metrics by diamond agent
27+
type: integer
28+
default: 10
2529

2630
node_templates:
2731
vm:
@@ -43,7 +47,7 @@ node_templates:
4347
implementation: diamond.diamond_agent.tasks.install
4448
inputs:
4549
diamond_config:
46-
interval: 1
50+
interval: { get_input: diamond_reporting_interval }
4751
start: diamond.diamond_agent.tasks.start
4852
stop: diamond.diamond_agent.tasks.stop
4953
uninstall: diamond.diamond_agent.tasks.uninstall

0 commit comments

Comments
 (0)