-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Lens] Additional time series metric metadata in field list #130726
Comments
Pinging @elastic/kibana-vis-editors @elastic/kibana-vis-editors-external (Team:VisEditors) |
we need to discuss which design approach is better. here's a short pro / con list to begin the discussion @MichaelMarcialis @gvnmagni @flash1293 If we put metadata in the field list:
If we put metadata in the type selector
|
As in the presence of TSDB data most visualizations will be built with dimensions and metrics I think it makes sense to move them to the top by default. |
Perhaps we could offer a kind of view mode switcher that allows the user to switch between this new suggested view and the more traditional alphabetical view?
Would this be in addition to the existing field type selections? Or in lieu of those for this mode? Asking because I think it would be odd to offer type filtering only on one subset of the field list.
Is the "Dimensions" name one that will resonate with our users? Would something like "Categories" be more common/understandable? Just curious. |
All gauge and counter metrics are number fields, but not all number fields are gauges or metrics. I think we can add either another dimension to the filter (if number is picked, the user can also pick gauge/counter). Or flatten out the "number" type into "gauge metric", "counter metric", "other number field".
I think we should just follow whatever the Elasticsearch team will settle on, otherwise this becomes confusing. As an industry I think time series data bases do not use consistent terminology here (sometimes these fields are called labels or tags as well) |
Met this week and decided we'd start with the "Filter by type" changes first. This means we have two design needs CC @MichaelMarcialis - will add this to list
|
Describe the feature: Surface additional metadata in the field list for pure
mode: time_series
data viewsDesign ideas:
Filter by type idea
Add metric subclassifications to "Type" selector. Instead of
number
offerGauge metrics
Rate metrics
etc...Field list sections idea
Add field breakdown sections to the fields that have values. Note from dev: they can only afford 1 level of grouping in the field list. There is some weirdness with this one seeing that there would be no easy way to see fields in alphabetical order as they are today although maybe we could duplicate the info? Might want to validate this is useful but I do think surfacing metrics at the top of Lens would be most useful for metric data.
Desired order:
Fallback support requirement
In the event the data view has both mode: time_series and normal indexes then fall back onto field list as it is today.
Describe a specific use case for the feature:
When using a data view that has additional metadata about fields (what type of metrics are stored)
I need to find/sort my fields in Lens using this metadata
So I can discover what metrics are in my data
And distinguish metrics from numeric non-metrics
The text was updated successfully, but these errors were encountered: