Skip to content

Conversation

dougszumski
Copy link
Member

This addresses an issue where the resources dimension could
contain a string with prohibited characters, for example:

"VCPU:64, MEMORY_MB:393216, DISK_GB:110, None".

This change moves the flavor resource string to the value_meta
field which has fewer restrictions over the content. If we
later want to index resources as a function of the flavor
resource fields, for example CPU count, we could add those
as separate dimensions on the metric.

This addresses an issue where the resources dimension could
contain a string with prohibited characters, for example:

"VCPU:64, MEMORY_MB:393216, DISK_GB:110, None".

This change moves the flavor resource string to the value_meta
field which has fewer restrictions over the content. If we
later want to index resources as a function of the flavor
resource fields, for example CPU count, we could add those
as separate dimensions on the metric.
Move the usage summary from a dimension to the value_meta for
the same reasons as the flavor resources.
This caused the Monasca API to reject the metric.
This should fix the servers per user and number of servers
days per user graphs so that they work out of the box.
@JohnGarbutt JohnGarbutt merged commit a117865 into stackhpc:master Nov 2, 2017
JohnGarbutt added a commit that referenced this pull request Nov 2, 2017
Add flag to skip looking at custom resource class
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants