Skip to content

[Uptime] Broken host metrics link inside space #39660

@DennisHaug

Description

@DennisHaug

Kibana version: 7.2.0

Elasticsearch version: 7.2.0

Server OS version: Windows 10

Browser version: Chrome 75.0.3770.100

Browser OS version: Windows 10

Original install method (e.g. download page, yum, from source, etc.) :Download from elastic.co (extract and run)

Describe the bug: When inside a space, the uptime app has a broken link to metrics under the integrations column

Steps to reproduce:

  1. Fresh install elasticsearch, kibana, heartbeat version 7.2.0
  2. Start heartbeat, elasticserach and kibana to get some data
  3. Create a new space in kibana and switch to it (name does not matter)
  4. Go to the uptime module
  5. Click on the integrations button for a row
  6. Click on "Show host metrics"
  7. It takes you to a URL that is missing the kibana endpoint, on localhost this url is set to:
    http://s/test/app/infra#/infrastructure/inventory?waffleFilter=(expression:'host.ip%20%3A%20127.0.0.1',kind:kuery)

Expected behavior:
Expect link to contain the kibana endpoint, as it does when you are not in a space.
http://localhost:5601/app/infra#/infrastructure/inventory?waffleFilter=(expression:'host.ip%20%3A%20127.0.0.1',kind:kuery)

Screenshots (if relevant):
Broken link:
image

Proper link:
image

Metadata

Metadata

Assignees

Labels

Team:ObservabilityTeam label for Observability Team (for things that are handled across all of observability)bugFixes for quality problems that affect the customer experiencetriage_needed

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions