helm-charts icon indicating copy to clipboard operation
helm-charts copied to clipboard

Quantile Aggregator Plugin configuration not parsed correctly

Open j04n-f opened this issue 2 years ago • 2 comments

Plugin Configuration:

- quantile:
  name_suffix: _quantile
  namepass:
   - consumer_events
   - azure_events
  period: 60s
  drop_original: true
  quantiles:
   - 0.99

_helpers.tpl converts float64 numbers to int64, changing all quantiles values to 0.

- quantile:
  name_suffix: _quantile
  namepass:
   - consumer_events
   - azure_events
  period: 60s
  drop_original: true
  quantiles:
   - 0

Telegraf fails to start because it expects a floating number.

j04n-f avatar Nov 14 '22 07:11 j04n-f

A similar problem occurs with the histogram aggregator:

- histogram:
  period: "30s"
  drop_original: true
  config:
  - buckets: [0.0, 10.0, 20.0, 30.0, 40.0, 50.0, 60.0, 70.0, 80.0, 90.0, 100.0]
    measurement_name: "k6-gauge"
    fields: ["vus", "vus_max", "write_time"]

as above, these floating points are converted to ints, when telegraf expects floats.

pears-one avatar Apr 21 '23 17:04 pears-one

hi there, is there any update on this? is this issue planned to be solved soon? over here we are facing this very issue currently

luroto avatar Oct 09 '23 22:10 luroto