-
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
[Logs Overview] Overview component (iteration 1) (attempt 2) #195673
[Logs Overview] Overview component (iteration 1) (attempt 2) #195673
Conversation
…mbeddable-iteration-1
…mbeddable-iteration-1
Pinging @elastic/obs-ux-logs-team (Team:obs-ux-logs) |
Pinging @elastic/obs-ux-infra_services-team (Team:obs-ux-infra_services) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
kbn management changes lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice additions to synthtrace. Thanks.
@@ -84,6 +85,7 @@ export const LogsTabContent = () => { | |||
query={logsLinkToStreamQuery} | |||
logView={logView} | |||
/> | |||
] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess we can remove this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oops, indeed
{ | ||
term: { | ||
[SERVICE_ENVIRONMENT]: environment, | ||
}, | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could use helper functions to build the filer clause. Wdyt?
...termQuery(SERVICE_ENVIRONMENT, environment),
Same for the exists
below
existsQuery(SERVICE_ENVIRONMENT)
Hey @crespocarlos, thanks for the review and the suggestions. Since this is a re-submission of #191899, which was already merged but reverted, I hope you don't mind if I defer your suggested improvements to a follow-up PR? |
Sure thing :) |
💚 Build Succeeded
Metrics [docs]Module Count
Public APIs missing comments
Async chunks
Public APIs missing exports
Page load bundle
Unknown metric groupsAPI count
async chunk count
ESLint disabled line counts
Total ESLint disabled count
History
cc @weltenwort |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Telemetry changes LGTM
Thanks everyone for re-approving so quickly ❤️ |
Starting backport for target branches: 8.x |
💔 All backports failed
Manual backportTo create the backport manually run:
Questions ?Please refer to the Backport tool documentation |
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…#195673) This is a re-submission of elastic#191899, which was reverted due to a storybook build problem. This introduces a "Logs Overview" component for use in solution UIs behind a feature flag. --------- Co-authored-by: kibanamachine <[email protected]> Co-authored-by: Kerry Gallagher <[email protected]> Co-authored-by: Elastic Machine <[email protected]> (cherry picked from commit 0caea22) # Conflicts: # .github/CODEOWNERS # src/plugins/telemetry/schema/oss_plugins.json
…195673) (#195742) # Backport This will backport the following commits from `main` to `8.x`: - [[Logs Overview] Overview component (iteration 1) (attempt 2) (#195673)](#195673) <!--- Backport version: 8.9.8 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Felix Stürmer","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-10-10T10:46:25Z","message":"[Logs Overview] Overview component (iteration 1) (attempt 2) (#195673)\n\nThis is a re-submission of #191899, which was reverted due to\r\na storybook build problem. This introduces a \"Logs Overview\" component for use in solution UIs\r\nbehind a feature flag.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <[email protected]>\r\nCo-authored-by: Kerry Gallagher <[email protected]>\r\nCo-authored-by: Elastic Machine <[email protected]>","sha":"0caea22006591486fbfd80d7899e116743acd8a2","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Logs UI","v9.0.0","release_note:feature","backport:prev-minor","ci:build-storybooks","ci:project-deploy-observability","Team:obs-ux-logs","Team:obs-ux-infra_services"],"number":195673,"url":"https://github.com/elastic/kibana/pull/195673","mergeCommit":{"message":"[Logs Overview] Overview component (iteration 1) (attempt 2) (#195673)\n\nThis is a re-submission of #191899, which was reverted due to\r\na storybook build problem. This introduces a \"Logs Overview\" component for use in solution UIs\r\nbehind a feature flag.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <[email protected]>\r\nCo-authored-by: Kerry Gallagher <[email protected]>\r\nCo-authored-by: Elastic Machine <[email protected]>","sha":"0caea22006591486fbfd80d7899e116743acd8a2"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/195673","number":195673,"mergeCommit":{"message":"[Logs Overview] Overview component (iteration 1) (attempt 2) (#195673)\n\nThis is a re-submission of #191899, which was reverted due to\r\na storybook build problem. This introduces a \"Logs Overview\" component for use in solution UIs\r\nbehind a feature flag.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <[email protected]>\r\nCo-authored-by: Kerry Gallagher <[email protected]>\r\nCo-authored-by: Elastic Machine <[email protected]>","sha":"0caea22006591486fbfd80d7899e116743acd8a2"}}]}] BACKPORT-->
ℹ️ This is a re-submission of #191899 which was reverted due to a storybook build problem.
📝 Summary
This introduces a "Logs Overview" component for use in solution UIs behind a feature flag.
change_point
agg fails withIllegalArgumentException
while indexing an array elasticsearch#112805🏴☠️ Feature flag
The new logs overview is currently visible in the "Logs" tab of APM services when the feature flag
observability:newLogsOverview
is enabled in the advanced settings:🎨 Previews
In APM UI
In the hosts UI
No log entries
change_point
Elasticsearch aggregation extensively it is affected bychange_point
agg fails withIllegalArgumentException
while indexing an array elasticsearch#112805.❓ Open questions
See: #191899 (comment)
change_point
agg have some limitations:step
, aspike
and adistribution_change
when just a few buckets are different. So it might be advisable to use the change point buckets detected and re-interpret their meaning using the histogram.🕵️♀️ Review notes
xstate5
. Similarly,@xstate5/react
is available.Release Note
Add experimental logs overview to the observability hosts and service overviews