Graylog2 / Graylog2/graylog2-server

Suggestion for charts: Histogram

Open
#23,866 3 comments 0 reactions 1 assignee Claimed by @kmerz View on GitHub
feature triaged
Dominant language
Java
Stars
8.1k
Forks
1.1k
Avg merge
1d 20h
Merged PRs (30d)
217

Description

it would be useful to have a Histogram representation for charts.

For example, I am plotting a histogram of DNS response times for authoritative queries. From Dnstap I obtain a float value in milliseconds.

If I try to plot it as a scatter plot with dns_rtt as row, and, say, "count" as a metric, I see this:

Image

Which, of course, is sadly useless.

I have found out that by rounding the milliseconds value to an integer I get a much more usable chart.

Image

Seems that the line chart is better (scatter plot is a bit crazy for this, I admit)

Image

But still if I use flat values for the round trip time:

Image

It breaks badly.

## Why?

Histograms are a very useful chart. In my case I have mitigated the issue rounding the values to integer milliseconds and, being interested on observing a metric in the milliseconds (can go from < 10 to > 1000 in case of serious issues) it is enough. But in other cases this lack of a proper histogram can be a limitation.

If the number of events taken into account is large, a scatter chart with float numbers can give an enormous pounding to the web browser as well. :)

## Your Environment

* Graylog Version: Graylog 7.0.0beta3, relevant to 6.x and previous versions.
* OpenSearch Version:
* MongoDB Version:
* Operating System:
* Browser version:

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.