-
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
[Uptime] handle null duration on ping list #125438
[Uptime] handle null duration on ping list #125438
Conversation
Pinging @elastic/uptime (Team:uptime) |
) : ( | ||
<EuiToolTip | ||
content={i18n.translate('xpack.uptime.pingList.durationColumnToolTip', { | ||
defaultMessage: 'Duration is unavailable for journeys that do not finish executing', |
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.
Will this logic ever apply to lightweight checks? The content I have now is very specific to journeys
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.
Would this be better to keep error not specific to journeys? Or even keep it as '--'
x-pack/plugins/uptime/server/lib/synthetics_service/service_api_client.ts
Outdated
Show resolved
Hide resolved
…dominiqueclarke/kibana into fix/uptime-handle-null-duration
x-pack/plugins/uptime/public/components/monitor/ping_list/ping_list_table.tsx
Outdated
Show resolved
Hide resolved
x-pack/plugins/uptime/public/components/monitor/ping_list/ping_list_table.tsx
Outdated
Show resolved
Hide resolved
💛 Build succeeded, but was flakyTest Failures
Metrics [docs]Async chunks
History
To update your PR or re-run it, just comment with: |
The following labels were identified as gaps in your version labels and will be added automatically:
If any of these should not be on your pull request, please manually remove them. |
💔 All backports failed
How to fixRe-run the backport manually:
Questions ?Please refer to the Backport tool documentation |
* uptime - handle null duration * adjust types * Update x-pack/plugins/uptime/server/lib/synthetics_service/service_api_client.ts * raise per page of synthetics monitors * Remove tooltip (cherry picked from commit 52e9c51) # Conflicts: # x-pack/plugins/uptime/public/components/overview/monitor_list/monitor_list.tsx
* uptime - handle null duration * adjust types * Update x-pack/plugins/uptime/server/lib/synthetics_service/service_api_client.ts * raise per page of synthetics monitors * Remove tooltip (cherry picked from commit 52e9c51) # Conflicts: # x-pack/plugins/uptime/public/components/monitor/ping_list/ping_list_table.tsx # x-pack/plugins/uptime/public/components/overview/monitor_list/monitor_list.tsx # x-pack/plugins/uptime/server/lib/synthetics_service/synthetics_service.ts
* uptime - handle null duration * adjust types * Update x-pack/plugins/uptime/server/lib/synthetics_service/service_api_client.ts * raise per page of synthetics monitors * Remove tooltip (cherry picked from commit 52e9c51) # Conflicts: # x-pack/plugins/uptime/public/components/monitor/ping_list/ping_list_table.tsx # x-pack/plugins/uptime/public/components/overview/monitor_list/monitor_list.tsx # x-pack/plugins/uptime/server/lib/synthetics_service/synthetics_service.ts
* uptime - handle null duration * adjust types * Update x-pack/plugins/uptime/server/lib/synthetics_service/service_api_client.ts * raise per page of synthetics monitors * Remove tooltip (cherry picked from commit 52e9c51) # Conflicts: # x-pack/plugins/uptime/public/components/overview/monitor_list/monitor_list.tsx
* uptime - handle null duration * adjust types * Update x-pack/plugins/uptime/server/lib/synthetics_service/service_api_client.ts * raise per page of synthetics monitors * Remove tooltip (cherry picked from commit 52e9c51) # Conflicts: # x-pack/plugins/uptime/public/components/monitor/ping_list/ping_list_table.tsx # x-pack/plugins/uptime/public/components/overview/monitor_list/monitor_list.tsx # x-pack/plugins/uptime/server/lib/synthetics_service/synthetics_service.ts
* [Uptime] handle null duration on ping list (#125438) * uptime - handle null duration * adjust types * Update x-pack/plugins/uptime/server/lib/synthetics_service/service_api_client.ts * raise per page of synthetics monitors * Remove tooltip (cherry picked from commit 52e9c51) # Conflicts: # x-pack/plugins/uptime/public/components/monitor/ping_list/ping_list_table.tsx # x-pack/plugins/uptime/public/components/overview/monitor_list/monitor_list.tsx # x-pack/plugins/uptime/server/lib/synthetics_service/synthetics_service.ts * Update x-pack/plugins/uptime/public/components/monitor/ping_list/ping_list.tsx
…pdf-generation-in-worker-thread * 'main' of github.com:elastic/kibana: (40 commits) Service overview e2e test (elastic#125359) [Graph] Make graph edges easier to click (elastic#124053) [Reporting] Add additional PNG and PDF metrics (elastic#125450) [APM] Lint rule for explicit return types (elastic#124771) [SecuritySolution] Enrich threshold data from correct fields (elastic#125376) [Uptime monitor management] Make index template installation retry (elastic#125537) [Console] Support suggesting index templates v2 (elastic#124655) [Logs UI] Support switching between log source modes (elastic#124929) SavedObjects management: change index patterns labels to data views (elastic#125356) [ci-stats] add Client class for accessing test group stats (elastic#125164) [ML] Use Discover locator in Data Visualizer instead of URL Generator (elastic#124283) [Fleet] Add retries when starting docker registry in integration tests (elastic#125530) Update osquery.asciidoc to address doc issue (elastic#125425) synthetics e2e - use custom location when defined (elastic#125560) [ci] Retry failed steps in on-merge pipeline (elastic#125550) [babel] Bump babel packages (elastic#125446) [DOCS] Updates Upgrade Assistant API status (elastic#125410) [DOCS] Minor tweaks to upgrade docs (elastic#125538) [Uptime] handle null duration on ping list (elastic#125438) [TSVB][Lens] Navigate to Lens with your current configuration (elastic#114794) ... # Conflicts: # x-pack/plugins/reporting/server/export_types/common/pdf/pdfmaker.ts # x-pack/plugins/reporting/server/export_types/printable_pdf/lib/generate_pdf.ts # x-pack/plugins/reporting/server/export_types/printable_pdf_v2/lib/generate_pdf.ts
Summary
Displays
--
on the Ping List Table when monitor duration is null.Includes a helpful tooltip to help users understand why duration does not exist.
Testing
In order to test this, I manually overwrote the duration of each ping in
PingListTable
to be null.In the future, once this PR Is merged, you'll be able to do this by creating a browser monitor with a syntax error, preventing the journey from executing.