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

Add buckets for values without the aggregated field #24

Merged
merged 1 commit into from
Feb 15, 2024

Conversation

heyLu
Copy link
Member

@heyLu heyLu commented Feb 15, 2024

E.g. when aggregating on status.code not all logs may have that field. Before they would not be represented in the histogram and result in misleading graphs, now they are shown as grey boxes on top of the ones that are aggregated on.

This happened a couple times internally and should help point out weird values and prevent confusion when expected or assumed fields are missing.

Two example screenshots from internal usage:

2024-02-15T11:14:24,951855952+01:00

2024-02-15T11:09:50,118940252+01:00

Previously those grey boxes would simply not exist and the histograms would look complete (but aren't). Non-aggregated histograms were already correct and the bars now match in both, e.g. here for the first screenshot but without the aggregation:

2024-02-15T11:14:34,707250550+01:00

@heyLu heyLu self-assigned this Feb 15, 2024
E.g. when aggregating on `status.code` not all logs may have that field.
Before they would not be represented in the histogram and result in
misleading graphs, now they are shown as grey boxes on top of the ones
that are aggregated on.

This happened a couple times internally and should help point out
weird values and prevent confusion when expected or assumed fields
are missing.
@heyLu heyLu force-pushed the add-non-aggregated-buckets branch from acecb4d to 16d325b Compare February 15, 2024 10:18
Copy link
Collaborator

@ivangonzalezacuna ivangonzalezacuna left a comment

Choose a reason for hiding this comment

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

LGTM. Nice feature :)

@heyLu heyLu merged commit b296d8d into main Feb 15, 2024
2 checks passed
@heyLu heyLu deleted the add-non-aggregated-buckets branch February 15, 2024 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants