-
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
[Exploratory View] Added step level filtering/breakdowns #115182
Conversation
Pinging @elastic/uptime (Team:uptime) |
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.
Did this make the Monitor and Step selections in the definition of the series single select? We really shouldn't have multi-select on these fields
...bservability/public/components/shared/exploratory_view/configurations/constants/constants.ts
Show resolved
Hide resolved
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.
Looks great. Thanks @shahzad31 !!
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.
Can we hide the step dropdown if ALL_VALUES
is selected.
I was unable to break down by step name, even when selecting a specific browser monitor. Edit: this happened, even after I fixed my mappings, but I am unable to recreate now. Also, we may need a popover to explain why breakdown by step name is disabled when unavailable.
We should consider moving fields onto new lines. It's getting crowded, and the flexible layout means that the inputs change size as the user is interacting with them.
When breaking down by step name, we see the step names for all monitors, not just the one selected.
ALL_VALUES isn't even possible to select anymore in monitor name.
I have added the tool tooltip in case where it's not available.
Have tried to handle 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.
Should the step name dropdown be available for up pings, down pings, and monitor duration duration metric? When selecting it in those metrics, there is no data data displayed.
When navigating to exploratory view from Uptime, ALL_VALUES is auto selected. Since we removed ALL_VALUES from monitor name, how should we handle navigating from Uptime using the Analyze data button?
...servability/public/components/shared/exploratory_view/series_editor/breakdown/breakdowns.tsx
Outdated
Show resolved
Hide resolved
…ory_view/series_editor/breakdown/breakdowns.tsx Co-authored-by: Dominique Clarke <[email protected]>
Hidden step name filter for non step level metrics like monitor duration/up pings/down pings |
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.
LGTM
|
||
const STEP_METRIC_FILTER: ColumnFilter = { | ||
language: 'kuery', | ||
query: `synthetics.type: step/metrics`, |
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.
No need for backticks here or below, but really not that important.
@@ -51,6 +53,18 @@ export function Breakdowns({ seriesConfig, seriesId, series }: Props) { | |||
} | |||
}; | |||
|
|||
useEffect(() => { |
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.
Not including a dependencies array is a great way to make sure this only fires on the first render. I'll need to remember to use this because I'm often so keyed into wanting to map the effect back to changes in the dependencies. 💯
@elasticmachine merge upstream |
💚 Build SucceededMetrics [docs]Async chunks
Page load bundle
History
To update your PR or re-run it, just comment with: cc @shahzad31 |
) Co-authored-by: Dominique Clarke <[email protected]> Co-authored-by: Kibana Machine <[email protected]>
💚 Backport successful
This backport PR will be merged automatically after passing CI. |
…115456) Co-authored-by: Dominique Clarke <[email protected]> Co-authored-by: Kibana Machine <[email protected]> Co-authored-by: Shahzad <[email protected]> Co-authored-by: Dominique Clarke <[email protected]>
Summary
Fix elastic/uptime#372
User can filter step level metrics using step selection.
User can also do breakdowns by step name