A metrics graph becomes not to appear when adding/deleting a dimension.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Monasca |
Triaged
|
Undecided
|
Unassigned |
Bug Description
1. NOT specify the dimension in configuration file(/etc/
-------
init_config:
instances:
- consumer_groups:
'1_
kafka_
zk_connect_str: localhost:2181
per_partition: True
zk_prefix: /0.8
-------
2. open Monitoring Dashboard from Alarm tab of Horizon GUI. and the metrics graph appears.
3. edit kafka_consumer.yaml to add the dimension as below and restart monasca-agent.
-------
init_config:
instances:
- consumer_groups:
'1_
kafka_
zk_connect_str: localhost:2181
per_partition: True
zk_prefix: /0.8
dimensions:
dim1: val1
-------
4. The 2 metrics, one doesn't have the dimension(dim1) and the other has dimension(dim1), are displayed in "Matching Metrics" of "Create Alarm Definition", however the graph for each data are NOT displayed on "Graph Metrics" (please see the attachement).
Then occur the below error in /var/log/
ERROR [2015-08-18 11:54:37,251] monasca.