flux icon indicating copy to clipboard operation
flux copied to clipboard

Simplify use of histogramQuantile

Open nikolay-t opened this issue 7 years ago • 0 comments

Currently use of histogramQuantile is not simple. It is not directly compatible with typical use case for values of tag, so we have to map for both countColumn and upperBoundColumn.

This is because normally you would put values of "le" column in InfluxDB (directly or via Telegraf) as tag=value, and value of a tag is always "string". It is not space-efficient to put it as field value. Also "count" column is normally "long", not "float" as required by histogramQuantile. So in both case, we have to apply map(), which is not convenient.

Please consider supporting "string" values for upperBoundColumn and "long" for countColumn.

nikolay-t avatar Sep 28 '18 17:09 nikolay-t