Stringify object-like metadata like "properties" when creating metrics
Monasca API allows up to 16 metadata key/value pairs of type string associated to any metric, and Ceilosca takes the list of metadata items to publish from configuration file "monasca_
In case we include a non-string field (e.g. say need the "properties" JSON together with "size" and "status" metadata items for the image metrics):
metadata:
image:
- size
- status
- properties
then we get the error: {"unprocessable
Our suggestion is to include a new method "_value_
Blueprint information
- Status:
- Not started
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- Pablo Rodriguez
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- New
- Series goal:
- None
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by