Skip to content
Snippets Groups Projects
Commit 5ec6be55 authored by calvinosanc1's avatar calvinosanc1 Committed by Mark Beierl
Browse files

Bug 2192 fixed - MON charm to support the MON attribute vm_infra_metrics


Change-Id: I0b87faf6433e2628ee4916a76a8f7e367c6456a1
Signed-off-by: default avatarGuillermo Calvino <guillermo.calvino@canonical.com>
parent bef284e9
No related branches found
No related tags found
No related merge requests found
......@@ -129,3 +129,7 @@ options:
description: Enables the security context of the pods
type: boolean
default: false
vm_infra_metrics:
description: Enables querying the VIMs asking for the status of the VMs
type: boolean
default: true
......@@ -80,6 +80,7 @@ class ConfigModel(ModelValidator):
openstack_default_granularity: int
global_request_timeout: int
collector_interval: int
vm_infra_metrics: bool
evaluator_interval: int
grafana_url: str
grafana_user: str
......@@ -267,6 +268,7 @@ class MonCharm(CharmedOsmBase):
"OSMMON_GLOBAL_REQUEST_TIMEOUT": config.global_request_timeout,
"OSMMON_GLOBAL_LOGLEVEL": config.log_level,
"OSMMON_COLLECTOR_INTERVAL": config.collector_interval,
"OSMMON_COLLECTOR_VM_INFRA_METRICS": config.vm_infra_metrics,
"OSMMON_EVALUATOR_INTERVAL": config.evaluator_interval,
# Kafka configuration
"OSMMON_MESSAGE_DRIVER": "kafka",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment