Issues icon indicating copy to clipboard operation
Issues copied to clipboard

Group float values in buckets (Histogram)

Open winsmith opened this issue 1 year ago • 0 comments

cc https://druid.apache.org/docs/latest/development/extensions-core/datasketches-quantiles

What we need basically is a a histogram aggregator. This would be useful for other queries as well. To support it, we need these steps at minimum:

  • [ ] Add DataSketches Quantiles Sketch module to Druid
  • [ ] Add relevant aggregators as allowed fields to TQL
  • [ ] Update the visual query builder json schema to allow setting these aggregators

Discussed in https://github.com/TelemetryDeck/Issues/discussions/384

Originally posted by smorkolama April 11, 2024 Hello, thanks for building TelemetryDeck! I really love the dashboard and how easy it is to make graphs. However, I looked through the examples and TQL reference documentation but I could not find a solution for the following query, perhaps you have an idea?

I have a signal persistentStoreLoad that has an associated payload key loadDuration which contains a float value for how long it took to load the persistent store. I can list individual values just fine, but is there a way to group these values into buckets? This functionality probably hiding somewhere in there but I could not find it. Any hints on how to proceed?

winsmith avatar Jun 26 '24 13:06 winsmith