monasca-ceilometer/ceilosca
Luka Peschke cdedb90ed8 Allow unicode for metadata keys in publisher
I encountered a bug whith the following configuration in
monasca_field_definitions.yaml:

  metadata:
    cpu:
        - flavor_id: flavor["id"]
        - flavor_name: flavor["name"]

The problem was in _get_value_metadata_for_key(): sometimes keys
from ceilometer samples can be unicode.

Change-Id: I8914c2238f3a450393f07e6309f57451c8c45cf2
2018-02-13 17:13:00 +01:00
..
ceilometer Allow unicode for metadata keys in publisher 2018-02-13 17:13:00 +01:00
__init__.py Improve unit tests 2015-07-23 17:15:50 +00:00