hyperdxio / hyperdxio/hyperdx

Event Deltas: Adaptive heatmap bucket density

Open
#1,912 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
9.9k
Forks
471
Avg merge
2d 4h
Merged PRs (30d)
117

Description

Summary

After HDX-3697 adds log-spaced buckets, explore adaptive bucket density that allocates more buckets near the mode and fewer in the sparse tail (similar to exponential histogram approaches used in OpenTelemetry and modern observability systems).

Currently the heatmap uses 80 fixed buckets. With adaptive sizing, bucket boundaries would follow a relative-error guarantee — e.g., 2% relative error at any point in the distribution. This maximizes visual resolution where data actually lives.

This is a deeper change to the bucketing query and may require a different ClickHouse approach (e.g., pre-computed exponential histogram boundaries rather than widthBucket()).

Dependencies

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Read the dependent HDX-3697 heatmap overhaul and the current event-deltas bucketing query, starting from its fixed 80-bucket behavior. Done means an adaptive or exponential-boundary approach provides the stated relative-error guarantee, increases density near the mode, and preserves the sparse tail.

Written by the indexing model from the issue text.

Assessment

Tech stack
clickhouse, typescript
Domain
data-visualization, databases, observability
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.