Explicit mapping for `metric` object is missing
Currently mapToMetricsViewModel
may load any data to the frontend directly, and this could lead to user inputting unused keys into the metrics.
Metrics are currently accepting all data, and our store should only keep the useful keys and discard the rest.
Also, keys that use using snake_case
in monitoring charts should be updated.
Some keys that are in use in components are:
x_label
y_label
x_type
max_value
-
series_name
(instacked_column
)
Edited by Miguel Rincon