[Metric] support strings #1801
Labels
enhancement
New feature or request
kibana cross issue
Has a Kibana issue counterpart
:metric
Related to Metric chart
Is your feature request related to a problem? Please describe.
We would like to support string values in the Lens metric visualization in Kibana. One use case is displaying the last value of a server status field: "up" or "down."
Describe the solution you'd like
The metric should accept a string value as well as a numeric value for the primary metric. Since a non-numeric value doesn't make sense in the context of a progress bar or a trend line, this probably means a new type of metric datum interface that can accept a string value, while the others maintain the numeric constraint.
Describe alternatives you've considered
I don't see any alternative.
Kibana Cross Issues
elastic/kibana#137756
Checklist
Kibana Cross Issues
listkibana cross issue
tag is associated to the issue if any kibana cross issue is presentThe text was updated successfully, but these errors were encountered: