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

[Infra] Adapt hosts and container views to logs-only data #201752

Closed
crespocarlos opened this issue Nov 26, 2024 · 1 comment · Fixed by #202992
Closed

[Infra] Adapt hosts and container views to logs-only data #201752

crespocarlos opened this issue Nov 26, 2024 · 1 comment · Fixed by #202992
Assignees
Labels
enhancement New value added to drive a business result Team:obs-ux-infra_services Observability Infrastructure & Services User Experience Team

Comments

@crespocarlos
Copy link
Contributor

Summary

We want the Hosts and Container views to display Logs Rate and Logs Error Rate KPIs when the entity has only logs data.

When an entity is logs-only, the detail view should hide the metrics section and the metrics tab.

Image

Below the callout, we'll display the KPI charts

Image
Ignore click to debug in Discover

Log rate:

  • formula: count()
  • normalizeByUnit: s
  • decimal: 1
  • format: number

Log error rate:

  • formula: count()
  • normalizeByUnit: s
  • decimal: 1
  • format: number
  • filter: log.level: "error" OR log.level: "ERROR" OR error.log.level: "error" OR error.log.level: "ERROR"

AC

  • The hosts and container views show the Log rate and Log error rate KPIs
  • Metrics section and Metrics tab are hidden
  • AddMetricsCallout is displayed above the KPIs
@crespocarlos crespocarlos added enhancement New value added to drive a business result Team:obs-ux-infra_services Observability Infrastructure & Services User Experience Team labels Nov 26, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/obs-ux-infra_services-team (Team:obs-ux-infra_services)

@Bluefinger Bluefinger self-assigned this Nov 28, 2024
Bluefinger added a commit that referenced this issue Dec 10, 2024
## Summary

Enables a logs only overview for hosts & containers. Disables the
metrics tab as there's no data incoming for metrics, and provides Logs
charts on the overview page detailing the Log Rate (all logs generated)
and Log Error Rate (all recorded errors).


https://github.com/user-attachments/assets/ced14b6d-dd08-4514-9066-6c02c62d5ff8

Closes #201752

## How to test

This is tested using synthtrace data, loading the scenario below:

```
node scripts/synthtrace traces_logs_entities.ts --live
```

This loads a logs-only host, though if other scenarios contain logs only
containers, feel free to use those as well.

* Go to Inventory page. Click on a host or container.
* If it is a logs only host/container, no metrics tab should be shown.
Metrics KPI charts should be replaced with Logs KPI charts (Log Rate and
Log Error Rate).
* If the host/container contains metrics, the metrics tab should be
visible and the normal Metrics KPI charts should be present.

---------

Co-authored-by: Elastic Machine <[email protected]>
kibanamachine pushed a commit to kibanamachine/kibana that referenced this issue Dec 10, 2024
## Summary

Enables a logs only overview for hosts & containers. Disables the
metrics tab as there's no data incoming for metrics, and provides Logs
charts on the overview page detailing the Log Rate (all logs generated)
and Log Error Rate (all recorded errors).

https://github.com/user-attachments/assets/ced14b6d-dd08-4514-9066-6c02c62d5ff8

Closes elastic#201752

## How to test

This is tested using synthtrace data, loading the scenario below:

```
node scripts/synthtrace traces_logs_entities.ts --live
```

This loads a logs-only host, though if other scenarios contain logs only
containers, feel free to use those as well.

* Go to Inventory page. Click on a host or container.
* If it is a logs only host/container, no metrics tab should be shown.
Metrics KPI charts should be replaced with Logs KPI charts (Log Rate and
Log Error Rate).
* If the host/container contains metrics, the metrics tab should be
visible and the normal Metrics KPI charts should be present.

---------

Co-authored-by: Elastic Machine <[email protected]>
(cherry picked from commit 305bb1b)
Bluefinger added a commit to Bluefinger/kibana that referenced this issue Dec 11, 2024
## Summary

Enables a logs only overview for hosts & containers. Disables the
metrics tab as there's no data incoming for metrics, and provides Logs
charts on the overview page detailing the Log Rate (all logs generated)
and Log Error Rate (all recorded errors).

https://github.com/user-attachments/assets/ced14b6d-dd08-4514-9066-6c02c62d5ff8

Closes elastic#201752

## How to test

This is tested using synthtrace data, loading the scenario below:

```
node scripts/synthtrace traces_logs_entities.ts --live
```

This loads a logs-only host, though if other scenarios contain logs only
containers, feel free to use those as well.

* Go to Inventory page. Click on a host or container.
* If it is a logs only host/container, no metrics tab should be shown.
Metrics KPI charts should be replaced with Logs KPI charts (Log Rate and
Log Error Rate).
* If the host/container contains metrics, the metrics tab should be
visible and the normal Metrics KPI charts should be present.

---------

Co-authored-by: Elastic Machine <[email protected]>
(cherry picked from commit 305bb1b)

# Conflicts:
#	x-pack/plugins/observability_solution/infra/public/components/asset_details/tabs/overview/overview.tsx
CAWilson94 pushed a commit to CAWilson94/kibana that referenced this issue Dec 12, 2024
## Summary

Enables a logs only overview for hosts & containers. Disables the
metrics tab as there's no data incoming for metrics, and provides Logs
charts on the overview page detailing the Log Rate (all logs generated)
and Log Error Rate (all recorded errors).


https://github.com/user-attachments/assets/ced14b6d-dd08-4514-9066-6c02c62d5ff8

Closes elastic#201752

## How to test

This is tested using synthtrace data, loading the scenario below:

```
node scripts/synthtrace traces_logs_entities.ts --live
```

This loads a logs-only host, though if other scenarios contain logs only
containers, feel free to use those as well.

* Go to Inventory page. Click on a host or container.
* If it is a logs only host/container, no metrics tab should be shown.
Metrics KPI charts should be replaced with Logs KPI charts (Log Rate and
Log Error Rate).
* If the host/container contains metrics, the metrics tab should be
visible and the normal Metrics KPI charts should be present.

---------

Co-authored-by: Elastic Machine <[email protected]>
Bluefinger added a commit that referenced this issue Dec 17, 2024
…203815)

# Backport

This will backport the following commits from `main` to `8.17`:
- [[Infra][ObsUX] Hosts & Container Logs only overview
(#202992)](#202992)

<!--- Backport version: 8.9.8 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Gonçalo Rica Pais da
Silva","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-12-10T16:38:19Z","message":"[Infra][ObsUX]
Hosts & Container Logs only overview (#202992)\n\n##
Summary\r\n\r\nEnables a logs only overview for hosts & containers.
Disables the\r\nmetrics tab as there's no data incoming for metrics, and
provides Logs\r\ncharts on the overview page detailing the Log Rate (all
logs generated)\r\nand Log Error Rate (all recorded
errors).\r\n\r\n\r\nhttps://github.com/user-attachments/assets/ced14b6d-dd08-4514-9066-6c02c62d5ff8\r\n\r\nCloses
#201752\r\n\r\n## How to test\r\n\r\nThis is tested using synthtrace
data, loading the scenario below:\r\n\r\n```\r\nnode scripts/synthtrace
traces_logs_entities.ts --live\r\n```\r\n\r\nThis loads a logs-only
host, though if other scenarios contain logs only\r\ncontainers, feel
free to use those as well.\r\n\r\n* Go to Inventory page. Click on a
host or container.\r\n* If it is a logs only host/container, no metrics
tab should be shown.\r\nMetrics KPI charts should be replaced with Logs
KPI charts (Log Rate and\r\nLog Error Rate).\r\n* If the host/container
contains metrics, the metrics tab should be\r\nvisible and the normal
Metrics KPI charts should be
present.\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine
<[email protected]>","sha":"305bb1b8879dd41077afa79195ac920e7d8080e1","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:prev-minor","ci:project-deploy-observability","Team:obs-ux-infra_services","v8.17.0"],"number":202992,"url":"https://github.com/elastic/kibana/pull/202992","mergeCommit":{"message":"[Infra][ObsUX]
Hosts & Container Logs only overview (#202992)\n\n##
Summary\r\n\r\nEnables a logs only overview for hosts & containers.
Disables the\r\nmetrics tab as there's no data incoming for metrics, and
provides Logs\r\ncharts on the overview page detailing the Log Rate (all
logs generated)\r\nand Log Error Rate (all recorded
errors).\r\n\r\n\r\nhttps://github.com/user-attachments/assets/ced14b6d-dd08-4514-9066-6c02c62d5ff8\r\n\r\nCloses
#201752\r\n\r\n## How to test\r\n\r\nThis is tested using synthtrace
data, loading the scenario below:\r\n\r\n```\r\nnode scripts/synthtrace
traces_logs_entities.ts --live\r\n```\r\n\r\nThis loads a logs-only
host, though if other scenarios contain logs only\r\ncontainers, feel
free to use those as well.\r\n\r\n* Go to Inventory page. Click on a
host or container.\r\n* If it is a logs only host/container, no metrics
tab should be shown.\r\nMetrics KPI charts should be replaced with Logs
KPI charts (Log Rate and\r\nLog Error Rate).\r\n* If the host/container
contains metrics, the metrics tab should be\r\nvisible and the normal
Metrics KPI charts should be
present.\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine
<[email protected]>","sha":"305bb1b8879dd41077afa79195ac920e7d8080e1"}},"sourceBranch":"main","suggestedTargetBranches":["8.17"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/202992","number":202992,"mergeCommit":{"message":"[Infra][ObsUX]
Hosts & Container Logs only overview (#202992)\n\n##
Summary\r\n\r\nEnables a logs only overview for hosts & containers.
Disables the\r\nmetrics tab as there's no data incoming for metrics, and
provides Logs\r\ncharts on the overview page detailing the Log Rate (all
logs generated)\r\nand Log Error Rate (all recorded
errors).\r\n\r\n\r\nhttps://github.com/user-attachments/assets/ced14b6d-dd08-4514-9066-6c02c62d5ff8\r\n\r\nCloses
#201752\r\n\r\n## How to test\r\n\r\nThis is tested using synthtrace
data, loading the scenario below:\r\n\r\n```\r\nnode scripts/synthtrace
traces_logs_entities.ts --live\r\n```\r\n\r\nThis loads a logs-only
host, though if other scenarios contain logs only\r\ncontainers, feel
free to use those as well.\r\n\r\n* Go to Inventory page. Click on a
host or container.\r\n* If it is a logs only host/container, no metrics
tab should be shown.\r\nMetrics KPI charts should be replaced with Logs
KPI charts (Log Rate and\r\nLog Error Rate).\r\n* If the host/container
contains metrics, the metrics tab should be\r\nvisible and the normal
Metrics KPI charts should be
present.\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine
<[email protected]>","sha":"305bb1b8879dd41077afa79195ac920e7d8080e1"}},{"branch":"8.17","label":"v8.17.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"url":"https://github.com/elastic/kibana/pull/203644","number":203644,"branch":"8.x","state":"OPEN"}]}]
BACKPORT-->
Bluefinger added a commit to Bluefinger/kibana that referenced this issue Dec 19, 2024
## Summary

Enables a logs only overview for hosts & containers. Disables the
metrics tab as there's no data incoming for metrics, and provides Logs
charts on the overview page detailing the Log Rate (all logs generated)
and Log Error Rate (all recorded errors).

https://github.com/user-attachments/assets/ced14b6d-dd08-4514-9066-6c02c62d5ff8

Closes elastic#201752

## How to test

This is tested using synthtrace data, loading the scenario below:

```
node scripts/synthtrace traces_logs_entities.ts --live
```

This loads a logs-only host, though if other scenarios contain logs only
containers, feel free to use those as well.

* Go to Inventory page. Click on a host or container.
* If it is a logs only host/container, no metrics tab should be shown.
Metrics KPI charts should be replaced with Logs KPI charts (Log Rate and
Log Error Rate).
* If the host/container contains metrics, the metrics tab should be
visible and the normal Metrics KPI charts should be present.

---------

Co-authored-by: Elastic Machine <[email protected]>
(cherry picked from commit 305bb1b)
Bluefinger added a commit that referenced this issue Dec 24, 2024
…204984)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[Infra][ObsUX] Hosts & Container Logs only overview
(#202992)](#202992)

<!--- Backport version: 8.9.8 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Gonçalo Rica Pais da
Silva","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-12-10T16:38:19Z","message":"[Infra][ObsUX]
Hosts & Container Logs only overview (#202992)\n\n##
Summary\r\n\r\nEnables a logs only overview for hosts & containers.
Disables the\r\nmetrics tab as there's no data incoming for metrics, and
provides Logs\r\ncharts on the overview page detailing the Log Rate (all
logs generated)\r\nand Log Error Rate (all recorded
errors).\r\n\r\n\r\nhttps://github.com/user-attachments/assets/ced14b6d-dd08-4514-9066-6c02c62d5ff8\r\n\r\nCloses
#201752\r\n\r\n## How to test\r\n\r\nThis is tested using synthtrace
data, loading the scenario below:\r\n\r\n```\r\nnode scripts/synthtrace
traces_logs_entities.ts --live\r\n```\r\n\r\nThis loads a logs-only
host, though if other scenarios contain logs only\r\ncontainers, feel
free to use those as well.\r\n\r\n* Go to Inventory page. Click on a
host or container.\r\n* If it is a logs only host/container, no metrics
tab should be shown.\r\nMetrics KPI charts should be replaced with Logs
KPI charts (Log Rate and\r\nLog Error Rate).\r\n* If the host/container
contains metrics, the metrics tab should be\r\nvisible and the normal
Metrics KPI charts should be
present.\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine
<[email protected]>","sha":"305bb1b8879dd41077afa79195ac920e7d8080e1","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport
missing","v9.0.0","backport:prev-minor","ci:project-deploy-observability","Team:obs-ux-infra_services","v8.17.0","v8.17.1"],"number":202992,"url":"https://github.com/elastic/kibana/pull/202992","mergeCommit":{"message":"[Infra][ObsUX]
Hosts & Container Logs only overview (#202992)\n\n##
Summary\r\n\r\nEnables a logs only overview for hosts & containers.
Disables the\r\nmetrics tab as there's no data incoming for metrics, and
provides Logs\r\ncharts on the overview page detailing the Log Rate (all
logs generated)\r\nand Log Error Rate (all recorded
errors).\r\n\r\n\r\nhttps://github.com/user-attachments/assets/ced14b6d-dd08-4514-9066-6c02c62d5ff8\r\n\r\nCloses
#201752\r\n\r\n## How to test\r\n\r\nThis is tested using synthtrace
data, loading the scenario below:\r\n\r\n```\r\nnode scripts/synthtrace
traces_logs_entities.ts --live\r\n```\r\n\r\nThis loads a logs-only
host, though if other scenarios contain logs only\r\ncontainers, feel
free to use those as well.\r\n\r\n* Go to Inventory page. Click on a
host or container.\r\n* If it is a logs only host/container, no metrics
tab should be shown.\r\nMetrics KPI charts should be replaced with Logs
KPI charts (Log Rate and\r\nLog Error Rate).\r\n* If the host/container
contains metrics, the metrics tab should be\r\nvisible and the normal
Metrics KPI charts should be
present.\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine
<[email protected]>","sha":"305bb1b8879dd41077afa79195ac920e7d8080e1"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/202992","number":202992,"mergeCommit":{"message":"[Infra][ObsUX]
Hosts & Container Logs only overview (#202992)\n\n##
Summary\r\n\r\nEnables a logs only overview for hosts & containers.
Disables the\r\nmetrics tab as there's no data incoming for metrics, and
provides Logs\r\ncharts on the overview page detailing the Log Rate (all
logs generated)\r\nand Log Error Rate (all recorded
errors).\r\n\r\n\r\nhttps://github.com/user-attachments/assets/ced14b6d-dd08-4514-9066-6c02c62d5ff8\r\n\r\nCloses
#201752\r\n\r\n## How to test\r\n\r\nThis is tested using synthtrace
data, loading the scenario below:\r\n\r\n```\r\nnode scripts/synthtrace
traces_logs_entities.ts --live\r\n```\r\n\r\nThis loads a logs-only
host, though if other scenarios contain logs only\r\ncontainers, feel
free to use those as well.\r\n\r\n* Go to Inventory page. Click on a
host or container.\r\n* If it is a logs only host/container, no metrics
tab should be shown.\r\nMetrics KPI charts should be replaced with Logs
KPI charts (Log Rate and\r\nLog Error Rate).\r\n* If the host/container
contains metrics, the metrics tab should be\r\nvisible and the normal
Metrics KPI charts should be
present.\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine
<[email protected]>","sha":"305bb1b8879dd41077afa79195ac920e7d8080e1"}},{"branch":"8.17","label":"v8.17.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/203815","number":203815,"state":"MERGED","mergeCommit":{"sha":"b2f582178878c7ff3093f620c0a30c102e1970d5","message":"[8.17]
[Infra][ObsUX] Hosts & Container Logs only overview (#202992)
(#203815)\n\n# Backport\n\nThis will backport the following commits from
`main` to `8.17`:\n- [[Infra][ObsUX] Hosts & Container Logs only
overview\n(#202992)](https://github.com/elastic/kibana/pull/202992)\n\n<!---
Backport version: 8.9.8 -->\n\n### Questions ?\nPlease refer to the
[Backport
tool\ndocumentation](https://github.com/sqren/backport)\n\n<!--BACKPORT
[{\"author\":{\"name\":\"Gonçalo Rica Pais
da\nSilva\",\"email\":\"[email protected]\"},\"sourceCommit\":{\"committedDate\":\"2024-12-10T16:38:19Z\",\"message\":\"[Infra][ObsUX]\nHosts
& Container Logs only overview
(#202992)\\n\\n##\nSummary\\r\\n\\r\\nEnables a logs only overview for
hosts & containers.\nDisables the\\r\\nmetrics tab as there's no data
incoming for metrics, and\nprovides Logs\\r\\ncharts on the overview
page detailing the Log Rate (all\nlogs generated)\\r\\nand Log Error
Rate (all
recorded\nerrors).\\r\\n\\r\\n\\r\\nhttps://github.com/user-attachments/assets/ced14b6d-dd08-4514-9066-6c02c62d5ff8\\r\\n\\r\\nCloses\n#201752\\r\\n\\r\\n##
How to test\\r\\n\\r\\nThis is tested using synthtrace\ndata, loading
the scenario below:\\r\\n\\r\\n```\\r\\nnode
scripts/synthtrace\ntraces_logs_entities.ts
--live\\r\\n```\\r\\n\\r\\nThis loads a logs-only\nhost, though if other
scenarios contain logs only\\r\\ncontainers, feel\nfree to use those as
well.\\r\\n\\r\\n* Go to Inventory page. Click on a\nhost or
container.\\r\\n* If it is a logs only host/container, no metrics\ntab
should be shown.\\r\\nMetrics KPI charts should be replaced with
Logs\nKPI charts (Log Rate and\\r\\nLog Error Rate).\\r\\n* If the
host/container\ncontains metrics, the metrics tab should be\\r\\nvisible
and the normal\nMetrics KPI charts should
be\npresent.\\r\\n\\r\\n---------\\r\\n\\r\\nCo-authored-by: Elastic
Machine\n<[email protected]>\",\"sha\":\"305bb1b8879dd41077afa79195ac920e7d8080e1\",\"branchLabelMapping\":{\"^v9.0.0$\":\"main\",\"^v8.18.0$\":\"8.x\",\"^v(\\\\d+).(\\\\d+).\\\\d+$\":\"$1.$2\"}},\"sourcePullRequest\":{\"labels\":[\"release_note:skip\",\"v9.0.0\",\"backport:prev-minor\",\"ci:project-deploy-observability\",\"Team:obs-ux-infra_services\",\"v8.17.0\"],\"number\":202992,\"url\":\"https://github.com/elastic/kibana/pull/202992\",\"mergeCommit\":{\"message\":\"[Infra][ObsUX]\nHosts
& Container Logs only overview
(#202992)\\n\\n##\nSummary\\r\\n\\r\\nEnables a logs only overview for
hosts & containers.\nDisables the\\r\\nmetrics tab as there's no data
incoming for metrics, and\nprovides Logs\\r\\ncharts on the overview
page detailing the Log Rate (all\nlogs generated)\\r\\nand Log Error
Rate (all
recorded\nerrors).\\r\\n\\r\\n\\r\\nhttps://github.com/user-attachments/assets/ced14b6d-dd08-4514-9066-6c02c62d5ff8\\r\\n\\r\\nCloses\n#201752\\r\\n\\r\\n##
How to test\\r\\n\\r\\nThis is tested using synthtrace\ndata, loading
the scenario below:\\r\\n\\r\\n```\\r\\nnode
scripts/synthtrace\ntraces_logs_entities.ts
--live\\r\\n```\\r\\n\\r\\nThis loads a logs-only\nhost, though if other
scenarios contain logs only\\r\\ncontainers, feel\nfree to use those as
well.\\r\\n\\r\\n* Go to Inventory page. Click on a\nhost or
container.\\r\\n* If it is a logs only host/container, no metrics\ntab
should be shown.\\r\\nMetrics KPI charts should be replaced with
Logs\nKPI charts (Log Rate and\\r\\nLog Error Rate).\\r\\n* If the
host/container\ncontains metrics, the metrics tab should be\\r\\nvisible
and the normal\nMetrics KPI charts should
be\npresent.\\r\\n\\r\\n---------\\r\\n\\r\\nCo-authored-by: Elastic
Machine\n<[email protected]>\",\"sha\":\"305bb1b8879dd41077afa79195ac920e7d8080e1\"}},\"sourceBranch\":\"main\",\"suggestedTargetBranches\":[\"8.17\"],\"targetPullRequestStates\":[{\"branch\":\"main\",\"label\":\"v9.0.0\",\"labelRegex\":\"^v9.0.0$\",\"isSourceBranch\":true,\"state\":\"MERGED\",\"url\":\"https://github.com/elastic/kibana/pull/202992\",\"number\":202992,\"mergeCommit\":{\"message\":\"[Infra][ObsUX]\nHosts
& Container Logs only overview
(#202992)\\n\\n##\nSummary\\r\\n\\r\\nEnables a logs only overview for
hosts & containers.\nDisables the\\r\\nmetrics tab as there's no data
incoming for metrics, and\nprovides Logs\\r\\ncharts on the overview
page detailing the Log Rate (all\nlogs generated)\\r\\nand Log Error
Rate (all
recorded\nerrors).\\r\\n\\r\\n\\r\\nhttps://github.com/user-attachments/assets/ced14b6d-dd08-4514-9066-6c02c62d5ff8\\r\\n\\r\\nCloses\n#201752\\r\\n\\r\\n##
How to test\\r\\n\\r\\nThis is tested using synthtrace\ndata, loading
the scenario below:\\r\\n\\r\\n```\\r\\nnode
scripts/synthtrace\ntraces_logs_entities.ts
--live\\r\\n```\\r\\n\\r\\nThis loads a logs-only\nhost, though if other
scenarios contain logs only\\r\\ncontainers, feel\nfree to use those as
well.\\r\\n\\r\\n* Go to Inventory page. Click on a\nhost or
container.\\r\\n* If it is a logs only host/container, no metrics\ntab
should be shown.\\r\\nMetrics KPI charts should be replaced with
Logs\nKPI charts (Log Rate and\\r\\nLog Error Rate).\\r\\n* If the
host/container\ncontains metrics, the metrics tab should be\\r\\nvisible
and the normal\nMetrics KPI charts should
be\npresent.\\r\\n\\r\\n---------\\r\\n\\r\\nCo-authored-by: Elastic
Machine\n<[email protected]>\",\"sha\":\"305bb1b8879dd41077afa79195ac920e7d8080e1\"}},{\"branch\":\"8.17\",\"label\":\"v8.17.0\",\"labelRegex\":\"^v(\\\\d+).(\\\\d+).\\\\d+$\",\"isSourceBranch\":false,\"state\":\"NOT_CREATED\"},{\"url\":\"https://github.com/elastic/kibana/pull/203644\",\"number\":203644,\"branch\":\"8.x\",\"state\":\"OPEN\"}]}]\nBACKPORT-->"}},{"url":"https://github.com/elastic/kibana/pull/203644","number":203644,"branch":"8.x","state":"OPEN"}]}]
BACKPORT-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New value added to drive a business result Team:obs-ux-infra_services Observability Infrastructure & Services User Experience Team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants