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

[Visualize] Add missing advanced settings and custom label for pipeline aggs #69688

Merged
merged 6 commits into from
Jul 2, 2020

Conversation

sulemanof
Copy link
Contributor

@sulemanof sulemanof commented Jun 23, 2020

Summary

Add missing advanced settings and custom label for metric pipeline aggregations.
Add functional tests to check appearance and functionality.

Fixes #69014
Fixes #69376

image

Checklist

Delete any items that are not applicable to this PR.

For maintainers

@sulemanof sulemanof marked this pull request as ready for review June 24, 2020 07:25
@sulemanof sulemanof requested a review from a team June 24, 2020 07:25
@elasticmachine
Copy link
Contributor

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

Copy link
Contributor

@stratoula stratoula left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, have tested it on chrome, both bugs are solved 🍪

@sulemanof
Copy link
Contributor Author

@elasticmachine merge upstream

@sulemanof
Copy link
Contributor Author

Note: Sibling Pipeline aggregation is only available to change Custom label for the sub metric (1) or for the whole aggregation (2):
custom label

Possible cases:

  • custom labels both are not defined: chart label and axis -> Overall Average of Count (where Count is sub metric agg);
  • custom label for sub metric - Cats, custom metric for the whole agg is not defined: chart label and axis -> Overall Average of Cats ;
  • custom metric for the whole agg defined - Cats, in that case it skips other custom labels: chart label and axis -> Cats

The Custom label for sub bucket was hidden, since it didn't have any effect for calculating labels in previous Kibana versions: 7.0.0

image

@timroes what are your thoughts on that?

@sulemanof
Copy link
Contributor Author

@elasticmachine merge upstream

@timroes
Copy link
Contributor

timroes commented Jun 29, 2020

@sulemanof that solutions looks great for me, thanks.

@sulemanof
Copy link
Contributor Author

@markov00 are you OK with these changes?

@sulemanof
Copy link
Contributor Author

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Build metrics

✅ unchanged

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@sulemanof sulemanof merged commit a8347fa into elastic:master Jul 2, 2020
@sulemanof sulemanof deleted the fix/agg_advanced_settings branch July 2, 2020 10:24
gmmorris added a commit to gmmorris/kibana that referenced this pull request Jul 2, 2020
* master: (46 commits)
  [Visualize] Add missing advanced settings and custom label for pipeline aggs (elastic#69688)
  Use dynamic: false for config saved object mappings (elastic#70436)
  [Ingest Pipelines] Error messages (elastic#70167)
  [APM] Show transaction rate per minute on Observability Overview page (elastic#70336)
  Filter out error when calculating a label (elastic#69934)
  [Visualizations] Each visType returns its supported triggers (elastic#70177)
  [Telemetry] Report data shippers (elastic#64935)
  Reduce SavedObjects mappings for Application Usage (elastic#70475)
  [Lens] fix dimension label performance issues (elastic#69978)
  Skip failing endgame tests (elastic#70548)
  [SIEM] Reenabling Cypress tests (elastic#70397)
  [SIEM][Security Solution][Endpoint] Endpoint Artifact Manifest Management + Artifact Download and Distribution (elastic#67707)
  [Security] Adds field mapping support to rule creation (elastic#70288)
  SECURITY-ENDPOINT: add fields for events to metadata document (elastic#70491)
  Fixed assertion in hybrid index pattern test to iterate through indices (elastic#70130)
  [SIEM][Exceptions] - Exception builder component (elastic#67013)
  [Ingest Manager] Rename data sources to package configs (elastic#70259)
  skip suites blocking es snapshot promomotion (elastic#70532)
  [Metrics UI] Fix asynchronicity and error handling in Snapshot API (elastic#70503)
  fix export response (elastic#70473)
  ...
sulemanof added a commit that referenced this pull request Jul 2, 2020
…ne aggs (#69688) (#70573)

* Show advanced settings in pipeline aggs

* Add functional tests

* Make sub metric in sibling pipeline to have custom label

Co-authored-by: Elastic Machine <[email protected]>

Co-authored-by: Elastic Machine <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
regression release_note:fix Team:Visualizations Visualization editors, elastic-charts and infrastructure v7.9.0 v8.0.0
Projects
None yet
5 participants