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

[8.x] [One Discover] Breakdown by log.level for logs sources (#200584) #202105

Merged
merged 1 commit into from
Nov 28, 2024

Conversation

tonyghiani
Copy link
Contributor

Backport

This will backport the following commits from main to 8.x:

Questions ?

Please refer to the Backport tool documentation

## 📓 Summary

Closes elastic#183498

This work sets the Breakdown selector for the Histogram to the
`log.level` field once a logs data source is resolved.
It also applies to ES|QL queries, the change is applied/removed on each
source change.

---------

Co-authored-by: Marco Antonio Ghiani <marcoantonio.ghiani@elastic.co>
Co-authored-by: Davis McPhee <davis.mcphee@elastic.co>
(cherry picked from commit ac6025e)

# Conflicts:
#	src/plugins/discover/public/application/main/state_management/discover_data_state_container.ts
#	src/plugins/discover/public/application/main/state_management/utils/change_data_view.ts
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
discover 810.0KB 811.2KB +1.2KB
unifiedHistogram 71.1KB 71.3KB +234.0B
total +1.5KB
Unknown metric groups

API count

id before after diff
unifiedHistogram 70 69 -1

@tonyghiani tonyghiani merged commit 2850e29 into elastic:8.x Nov 28, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants