[Uptime] Hide app if no data is available#159118
Conversation
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
|
Pinging @elastic/uptime (Team:uptime) |
florent-leborgne
left a comment
There was a problem hiding this comment.
Suggested some tweaks to the copy. Let me know if you need me to revisit.
Co-authored-by: florent-leborgne <florent.leborgne@elastic.co>
Co-authored-by: florent-leborgne <florent.leborgne@elastic.co>
awahab07
left a comment
There was a problem hiding this comment.
-
Tested and the feature flag works as expected.
-
If
heartbeat-*/synthetics-*exists, Uptime app will be enabled. -
👉 The current implementation will enable the Uptime app regardless of the availability of legacy monitors, as it just checks the presence of the index.
-
👉 On a new cluster, by default, Uptime has
synthetics-*as index in settings, whereas heartbeat pushes toheartbeat-*. If a mismatch happens, the only way to enabled Uptime app would be via feature flag first and then a change of index in Uptime -> settings would be required.
x-pack/plugins/synthetics/server/legacy_uptime/lib/requests/get_index_status.ts
Show resolved
Hide resolved
💚 Build Succeeded
Metrics [docs]Module Count
Public APIs missing comments
Any counts in public APIs
Async chunks
Page load bundle
Unknown metric groupsAPI count
ESLint disabled line counts
Total ESLint disabled count
History
To update your PR or re-run it, just comment with: |
awahab07
left a comment
There was a problem hiding this comment.
There's still an issue that, by default Uptime uses synthetics-* index, same as with Synthetics. So on a new cluster, if there are synthetics monitors with results indexed, Uptime would be enabled as in the query config_id is not being considered, as suggested in the AC.
awahab07
left a comment
There was a problem hiding this comment.
Tested the flow and it LGTM!
* main: [Lens] Add custom formatter within the Lens editor (elastic#158468) [Uptime] Hide app if no data is available (elastic#159118) [CodeEditor] Add grok highlighting (elastic#159334)
* main: (199 commits) [Lens] Add custom formatter within the Lens editor (elastic#158468) [Uptime] Hide app if no data is available (elastic#159118) [CodeEditor] Add grok highlighting (elastic#159334) Expose decoded cloudId components from the cloud plugin's contract (elastic#159442) [Profiling] Use collector and symbolizer integrations in the add data page (elastic#159481) [Infrastructure UI] Hosts View: Unified Search bar with auto-refresh enabled (elastic#157011) [APM] Add feature flag for not available apm schema (elastic#158911) [Lens] Remove deprecated componentWillReceiveProps usage (elastic#159502) [api-docs] 2023-06-13 Daily api_docs build (elastic#159536) [data views] Use versioned router for REST routes (elastic#158608) [maps] fix geo line source not loaded unless maps application is opened (elastic#159432) [Enterprise Search][Search application]Fix Create Api key url (elastic#159519) [Security Solution] Increase timeout for indexing hosts (elastic#159518) dashboard Reset button disable (elastic#159430) [Security Solution] Unskip Endpoint API tests after package fix (elastic#159484) [Synthetics] adjust alert timing (elastic#159511) [ResponseOps][rule registry] Remove usages of `refresh: true` (elastic#159252) Revert "Remove unused package (elastic#158597)" [Serverless] Adding config to disable authentication on task manager background worker utilization API (elastic#159505) Remove unused package (elastic#158597) ...
|
@florent-leborgne are you happy with the Release Note section in the main description |
|
@paulb-elastic here's a slightly updated version with a more conversational tone. The Uptime app now gets hidden from the interface when it doesn't have any data for more than a week. If you have a standalone heartbeat pushing data to Elasticsearch, the Uptime app will be considered active. You can disable this automatic behavior from the advanced settings in Kibana using the Always show legacy Uptime app option. How does this sound to you? Feel free to make any adjustment. I've also fixed the option name that was changed in this PR. |
|
Thanks @florent-leborgne I've updated the copy in the description to your suggestion. Looks like the release note for 8.9 hasn't been cut yet, so this update should be automatic, but I'll keep an eye on it in case I need to update the CHANGELOG manually. |
|
Confirmed the updated copy will be used https://github.com/elastic/kibana/pull/161909/files#diff-6eabb97e98640429cb68b61823f99438d287d604d72ecf0e93ed2e9ecbec7479R70-R71 |
Summary
Fixes #158731
Hide app if no data is available !!
Uptime app will be hidden if no data is found within last week !!
This behaviour can be disabled from advanced settings
Release note
The Uptime app now gets hidden from the interface when it doesn't have any data for more than a week. If you have a standalone Heartbeat pushing data to Elasticsearch, the Uptime app will be considered active. You can disable this automatic behavior from the advanced settings in Kibana using the Always show legacy Uptime app option.
For synthetic monitoring, we now recommend to use the new Synthetics app.