Skip to content

Explaining 'dotted lines' in metrics charts #3213

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

Merged
merged 2 commits into from
Sep 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/en/observability/images/hosts-dashed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
52 changes: 52 additions & 0 deletions docs/en/observability/monitor-infra/analyze-hosts.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -145,3 +145,55 @@ From the **Actions** menu, you can choose to:

[role="screenshot"]
image::images/hosts-view-alerts.png[Screenshot showing Alerts view]

[discrete]
[[analyze-hosts-why-dashed-lines]]
== Why am I seeing dashed lines in charts?

There are a few reasons why you may see dashed lines in your charts.

* <<dashed-interval>>
* <<dashed-missing>>
* <<dashed-interval-and-missing>>

[discrete]
[[dashed-interval]]
==== The chart interval is too short

In this example, the data emission rate is lower than the Lens chart interval.
A dashed line connects the known data points to make it easier to visualize trends in the data.

[role="screenshot"]
image::images/hosts-dashed.png[Screenshot showing dashed chart]

The chart interval is automatically set depending on the selected time duration.
To fix this problem, change the selected time range at the top of the page.

TIP: Want to dig in further while maintaining the selected time duration?
Hover over the chart you're interested in and select **Options** -> **Open in Lens**.
Once in Lens, you can adjust the chart interval temporarily. Note that this change is not persisted in the **Hosts** view.

[discrete]
[[dashed-missing]]
==== Data is missing

A solid line indicates that the chart interval is set appropriately for the data transmission rate.
In this example, a solid line turns into a dashed line--indicating missing data.
You may want to investigate this time period to determine if there is an outage or issue.

[role="screenshot"]
image::images/hosts-missing-data.png[Screenshot showing missing data]

[discrete]
[[dashed-interval-and-missing]]
==== The chart interval is too short and data is missing

In the screenshot below, the data emission rate is lower than the Lens chart interval **and** there is missing data.
Copy link

@crespocarlos crespocarlos Sep 12, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the data emission rate is lower

Would it make sense to explain that this happens because of the period interval configured in metricbeat/integration package?


This missing data can be hard to spot at first glance.
The green boxes outline regular data emissions, while the missing data is outlined in pink.
Similar to the above scenario, you may want to investigate the time period with the missing data
to determine if there is an outage or issue.

[role="screenshot"]
image::images/hosts-dashed-and-missing.png[Screenshot showing dashed lines and missing data]