Skip to content
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] Support for Histogram data type with sum, average #74581

Closed
wylieconlon opened this issue Aug 6, 2020 · 1 comment · Fixed by #90357
Closed

[Lens] Support for Histogram data type with sum, average #74581

wylieconlon opened this issue Aug 6, 2020 · 1 comment · Fixed by #90357
Assignees
Labels
Feature:Lens Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@wylieconlon
Copy link
Contributor

The histogram data type is able to be used for some of the aggregations that Lens supports, specifically sum and average but not other metrics.

There are several places in the Lens code that need to be updated to support histograms:

  • types.ts needs to get an updated DataType definition
  • datapanel.tsx needs to include histogram as a type in a few places
  • The indexpattern_suggestions.ts needs to update the getMetricColumn function
  • The metrics.tsx file needs to update getPossibleOperationsForField, or maybe another way of allowing histograms on certain metrics but not others
@wylieconlon wylieconlon added Team:Visualizations Visualization editors, elastic-charts and infrastructure Feature:Lens labels Aug 6, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app (Team:KibanaApp)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Lens Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants