Skip to content

Cfy 4985 reporting time 10s instead of 1s #86

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion aws-ec2-blueprint.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
tosca_definitions_version: cloudify_dsl_1_2
tosca_definitions_version: cloudify_dsl_1_3

description: >
This Blueprint installs the nodecellar application
Expand Down Expand Up @@ -33,6 +33,16 @@ inputs:
description: >
User for connecting to agent VM's

diamond_reporting_interval:
description: interval in seconds for reporting metrics by diamond agent
type: integer
default: 10
# This default is here for UX and demos, we strongly recommend you reconsider
# how much data you report for your own production system based on your
# specific application, as this generates approximately 12kb of data per report,
# so for example a setting of 10 would generate approximately 726mb per week,
# which might be an issue if you install your manager on a small partition.

node_templates:

nodecellar:
Expand Down
12 changes: 11 additions & 1 deletion cloudstack-blueprint.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
tosca_definitions_version: cloudify_dsl_1_2
tosca_definitions_version: cloudify_dsl_1_3

imports:
- http://www.getcloudify.org/spec/cloudify/3.4m5/types.yaml
Expand Down Expand Up @@ -46,6 +46,16 @@ inputs:
The name of the dedicated application network to be created.
default: nodecellar_network

diamond_reporting_interval:
description: interval in seconds for reporting metrics by diamond agent
type: integer
default: 10
# This default is here for UX and demos, we strongly recommend you reconsider
# how much data you report for your own production system based on your
# specific application, as this generates approximately 12kb of data per report,
# so for example a setting of 10 would generate approximately 726mb per week,
# which might be an issue if you install your manager on a small partition.

node_templates:

nodecellar:
Expand Down
2 changes: 1 addition & 1 deletion host-pool-blueprint.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
tosca_definitions_version: cloudify_dsl_1_2
tosca_definitions_version: cloudify_dsl_1_3

description: >
This Blueprint installs the nodecellar application
Expand Down
2 changes: 1 addition & 1 deletion local-blueprint.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
tosca_definitions_version: cloudify_dsl_1_2
tosca_definitions_version: cloudify_dsl_1_3

description: >
This Blueprint installs the nodecellar application
Expand Down
12 changes: 11 additions & 1 deletion openstack-blueprint.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
tosca_definitions_version: cloudify_dsl_1_2
tosca_definitions_version: cloudify_dsl_1_3

description: >
This Blueprint installs the nodecellar application
Expand Down Expand Up @@ -33,6 +33,16 @@ inputs:
description: >
User for connecting to agent VM's

diamond_reporting_interval:
description: interval in seconds for reporting metrics by diamond agent
type: integer
default: 10
# This default is here for UX and demos, we strongly recommend you reconsider
# how much data you report for your own production system based on your
# specific application, as this generates approximately 12kb of data per report,
# so for example a setting of 10 would generate approximately 726mb per week,
# which might be an issue if you install your manager on a small partition.

node_templates:

nodecellar:
Expand Down
12 changes: 11 additions & 1 deletion openstack-haproxy-blueprint.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
tosca_definitions_version: cloudify_dsl_1_2
tosca_definitions_version: cloudify_dsl_1_3

description: >
This Blueprint installs the nodecellar application behind
Expand Down Expand Up @@ -34,6 +34,16 @@ inputs:
description: >
User for connecting to agent VM's

diamond_reporting_interval:
description: interval in seconds for reporting metrics by diamond agent
type: integer
default: 10
# This default is here for UX and demos, we strongly recommend you reconsider
# how much data you report for your own production system based on your
# specific application, as this generates approximately 12kb of data per report,
# so for example a setting of 10 would generate approximately 726mb per week,
# which might be an issue if you install your manager on a small partition.

node_templates:

nodecellar:
Expand Down
12 changes: 11 additions & 1 deletion openstack-nova-net-blueprint.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
tosca_definitions_version: cloudify_dsl_1_2
tosca_definitions_version: cloudify_dsl_1_3

description: >
This Blueprint installs the nodecellar application
Expand Down Expand Up @@ -34,6 +34,16 @@ inputs:
description: >
User for connecting to agent VM's

diamond_reporting_interval:
description: interval in seconds for reporting metrics by diamond agent
type: integer
default: 10
# This default is here for UX and demos, we strongly recommend you reconsider
# how much data you report for your own production system based on your
# specific application, as this generates approximately 12kb of data per report,
# so for example a setting of 10 would generate approximately 726mb per week,
# which might be an issue if you install your manager on a small partition.

node_templates:

nodecellar:
Expand Down
12 changes: 11 additions & 1 deletion simple-blueprint.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
tosca_definitions_version: cloudify_dsl_1_2
tosca_definitions_version: cloudify_dsl_1_3

description: >
This Blueprint installs the nodecellar application
Expand Down Expand Up @@ -33,6 +33,16 @@ inputs:
Path to a private key that resided on the management machine.
SSH-ing into agent machines will be done with this key.

diamond_reporting_interval:
description: interval in seconds for reporting metrics by diamond agent
type: integer
default: 10
# This default is here for UX and demos, we strongly recommend you reconsider
# how much data you report for your own production system based on your
# specific application, as this generates approximately 12kb of data per report,
# so for example a setting of 10 would generate approximately 726mb per week,
# which might be an issue if you install your manager on a small partition.

node_templates:

nodecellar:
Expand Down
12 changes: 11 additions & 1 deletion softlayer-blueprint.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
tosca_definitions_version: cloudify_dsl_1_2
tosca_definitions_version: cloudify_dsl_1_3

description: >
This Blueprint installs the nodecellar application
Expand Down Expand Up @@ -56,6 +56,16 @@ inputs:
Ubuntu Linux 14.04 LTS Trusty Tahr - Minimal Install (64 bit)
default: 4668

diamond_reporting_interval:
description: interval in seconds for reporting metrics by diamond agent
type: integer
default: 10
# This default is here for UX and demos, we strongly recommend you reconsider
# how much data you report for your own production system based on your
# specific application, as this generates approximately 12kb of data per report,
# so for example a setting of 10 would generate approximately 726mb per week,
# which might be an issue if you install your manager on a small partition.

node_templates:

nodecellar:
Expand Down
2 changes: 1 addition & 1 deletion types/aws-ec2-types.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ node_types:
inputs:
diamond_config:
default:
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
Expand Down
2 changes: 1 addition & 1 deletion types/cloudstack-types.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ node_types:
inputs:
diamond_config:
default:
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
Expand Down
2 changes: 1 addition & 1 deletion types/openstack-types.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ node_types:
inputs:
diamond_config:
default:
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
Expand Down
2 changes: 1 addition & 1 deletion types/simple-types.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ node_types:
inputs:
diamond_config:
default:
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
Expand Down
2 changes: 1 addition & 1 deletion types/softlayer-types.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ node_types:
inputs:
diamond_config:
default:
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
Expand Down
2 changes: 1 addition & 1 deletion types/vcloud-types.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ node_types:
inputs:
diamond_config:
default:
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
Expand Down
2 changes: 1 addition & 1 deletion types/vsphere-types.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ node_types:
inputs:
diamond_config:
default:
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
Expand Down
12 changes: 11 additions & 1 deletion vcloud-blueprint.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
tosca_definitions_version: cloudify_dsl_1_2
tosca_definitions_version: cloudify_dsl_1_3

description: >
This Blueprint installs the nodecellar application
Expand Down Expand Up @@ -58,6 +58,16 @@ inputs:
Name of the existing network that's being used for Cloudify management
type: string

diamond_reporting_interval:
description: interval in seconds for reporting metrics by diamond agent
type: integer
default: 10
# This default is here for UX and demos, we strongly recommend you reconsider
# how much data you report for your own production system based on your
# specific application, as this generates approximately 12kb of data per report,
# so for example a setting of 10 would generate approximately 726mb per week,
# which might be an issue if you install your manager on a small partition.

node_templates:

nodecellar:
Expand Down
13 changes: 12 additions & 1 deletion vsphere-blueprint.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
tosca_definitions_version: cloudify_dsl_1_2
tosca_definitions_version: cloudify_dsl_1_3

description: >
This Blueprint installs the nodecellar application
Expand Down Expand Up @@ -37,6 +37,17 @@ inputs:
description: >
Which network to deploy the VM on

diamond_reporting_interval:
description: interval in seconds for reporting metrics by diamond agent
type: integer
default: 10
# This default is here for UX and demos, we strongly recommend you reconsider
# how much data you report for your own production system based on your
# specific application, as this generates approximately 12kb of data per report,
# so for example a setting of 10 would generate approximately 726mb per week,
# which might be an issue if you install your manager on a small partition.


node_templates:

nodecellar:
Expand Down