-
Notifications
You must be signed in to change notification settings - Fork 8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Infra][APM] Fix uptime links display condition in Infra and APM (#18…
…1425) closes [#178714](#178714) ## Summary This PR changes where link to legacy uptime is displayed to conditionally show it according to whether the plugin is enabled or not. <img width="962" alt="image" src="https://github.com/elastic/kibana/assets/2767137/e2e659ae-bc2e-49a6-a34b-9434f04b4617"> <img width="962" alt="image" src="https://github.com/elastic/kibana/assets/2767137/4aa487f5-4a61-4387-a9ed-12c9ed624410"> ### How to test The issue and the fix are the same in serverless and stateful #### APM - Run ``` node scripts/synthtrace simple_trace.ts --from=now-15m --to=now --clean --target=http://elastic_serverless:changeme@localhost:9200 --kibana=http://elastic_serverless:changeme@0.0.0.0:5601 ``` - Navigate to APM > Traces, click on "Investigate" - if `xpack.legacy_uptime.enabled: false` in kibana.yml - "Status" **should** appear - if `xpack.legacy_uptime.enabled: false` in kibana.yml - "Status" **should not** appear - if `xpack.legacy_uptime.enabled: false` and `xpack.uptime.enabled: true` in kibana.yml - "Status" **should not** appear - if `observability:enableLegacyUptimeApp` is switched on in Advanced settings - "Status" **should** appear #### Infra - Start a local kibana instance pointing to an oblt cluster - Navigate to Infrastructure, select `Kubernetes Pod` (other asset types, except hosts, share the same code) in `Show` dropdown - if `xpack.legacy_uptime.enabled: false` in kibana.yml - the link should be **enabled** - if `xpack.legacy_uptime.enabled: false` in kibana.yml - the link to uptime should be **disabled** - if `xpack.legacy_uptime.enabled: false` and `xpack.uptime.enabled: true` in kibana.yml - the link to uptime should be **disabled** - if `observability:enableLegacyUptimeApp` is switched on in Advanced settings - the link to uptime should be **enabled** --------- Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
- Loading branch information
1 parent
4d55e52
commit 694acf7
Showing
13 changed files
with
167 additions
and
106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
50 changes: 0 additions & 50 deletions
50
x-pack/plugins/observability_solution/synthetics/public/apps/locators/overview.ts
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.