Changes to enable monitoring for exampleservice
Change-Id: I2758b6caf803561bc182ceb747c4d8ca3af2cb9a
diff --git a/cord-pod/Makefile b/cord-pod/Makefile
index e8368c1..c630693 100644
--- a/cord-pod/Makefile
+++ b/cord-pod/Makefile
@@ -119,6 +119,10 @@
bash $(COMMON_DIR)/rebuild.sh $(XOS_BOOTSTRAP_PORT) monitoring
bash $(COMMON_DIR)/wait_for_onboarding_ready.sh $(XOS_BOOTSTRAP_PORT) xos
+rebuild-exampleservice:
+ bash $(COMMON_DIR)/rebuild.sh $(XOS_BOOTSTRAP_PORT) exampleservice
+ bash $(COMMON_DIR)/wait_for_onboarding_ready.sh $(XOS_BOOTSTRAP_PORT) xos
+
install-inframonitoring-agents:
bash $(SERVICE_DIR)/monitoring/xos/synchronizer/ceilometer/monitoring_agent/install_monitoring_ceilometer.sh
@@ -134,6 +138,8 @@
enable-exampleservicemonitoring:
$(RUN_TOSCA) exampleservicemonitoring.yaml
+ @echo "Validate if exampleservice metrics are available...."
+ ansible-playbook -i local $(SERVICE_DIR)/monitoring/xos/test/monitoring_test_exampleservicemetrics.yaml
inframonitoring_yaml:
export SETUPDIR=$(CONFIG_DIR); bash ./make-inframonitoring-yaml.sh
diff --git a/cord-pod/monitoringservice.yaml b/cord-pod/monitoringservice.yaml
index c8c778a..d28e112 100644
--- a/cord-pod/monitoringservice.yaml
+++ b/cord-pod/monitoringservice.yaml
@@ -97,9 +97,9 @@
# Host container properties
host:
properties:
- num_cpus: 1
- disk_size: 20 GB
- mem_size: 2 GB
+ num_cpus: 2
+ disk_size: 40 GB
+ mem_size: 4 GB
requirements:
- slice:
node: mysite_ceilometer