Skip to content
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] Test now is disabled for a monitor with both Public and Private Locations. #138862

Closed
awahab07 opened this issue Aug 15, 2022 · 1 comment · Fixed by #142004
Closed
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Team:Uptime - DEPRECATED Synthetics & RUM sub-team of Application Observability v8.5.0

Comments

@awahab07
Copy link
Contributor

Kibana version: 8.5.0 (Hasn't been tested on 8.4.0)

Elasticsearch version: 8.5.0

Describe the bug:
A synthetics monitor configured for both public and private locations, is only shown as a private monitor (fleet_managed: true) in uptime overview page. As a result, the Test now button (with play icon) on Uptime Monitors page is disabled for such a monitor.

Steps to reproduce:

  1. Setup Kibana and cluster to have public as well as private locations. Set up agents as well as so that test results are available under Uptime -> Monitors Overview page.
  2. Notice that the monitor does not have Test now button in front as if it is only a fleet managed monitor.
  3. If Test now button is available, try running a test and observe the behavior afterwards. Or try to create a new monitor as it depends on which type of results comes at top.

Expected behavior:
For a monitor configured with both public and private locations, Test now button should be available.

Screenshots (if relevant):
Screenshot 2022-08-16 at 01 28 32
Screenshot 2022-08-16 at 01 27 59

Errors in browser console (if relevant):

Provide logs and/or server output (if relevant):

Any additional context:
Only the first fetched summary is passed to the TestNowColumn (as shown in the snippet below) which should be changed to consider all summaries to determine if monitor is only fleet_managed or both.

<TestNowColumn
monitorId={item.monitor_id}
configId={item.configId}
selectedMonitor={item.state.summaryPings[0]}
/>

@awahab07 awahab07 added bug Fixes for quality problems that affect the customer experience Team:Uptime - DEPRECATED Synthetics & RUM sub-team of Application Observability v8.5.0 labels Aug 15, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/uptime (Team:uptime)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Team:Uptime - DEPRECATED Synthetics & RUM sub-team of Application Observability v8.5.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants