Skip to content

[Metrics UI] context.value is rendered as NaN% by Inventory alert in No Data state #73784

@hendry-lim

Description

@hendry-lim

Kibana version: 7.9.0-SNAPSHOT

Elasticsearch version: 7.9.0-SNAPSHOT

Browser version: Firefox 78.0.2

Browser OS version: openSUSE

Original install method (e.g. download page, yum, from source, etc.): Docker

Describe the bug:
context.value.condition0 is rendered as NaN% by Inventory alert.
The current CPU usage value is NaN%, because the host es05 on the screenshot is an Elasticsearch instance running in Docker container.

Steps to reproduce:

  1. In Kibana, go to Management --> Alerts and Actions
  2. Create an Inventory alert
  3. Enable the option Alert me if there's no data
  4. Add {{context.value.condition0}} to the alert message body

Expected behavior:
{{context.value.condition0}} should probably be rendered as an empty string.

Screenshots (if relevant):
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature:Metrics UIMetrics UI featureTeam:Infra Monitoring UI - DEPRECATEDDEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_servicesbugFixes for quality problems that affect the customer experience

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions