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

Quantile Aggregator Plugin configuration not parsed correctly #524

Open
j04n-f opened this issue Nov 14, 2022 · 2 comments
Open

Quantile Aggregator Plugin configuration not parsed correctly #524

j04n-f opened this issue Nov 14, 2022 · 2 comments

Comments

@j04n-f
Copy link

j04n-f commented Nov 14, 2022

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.

@pears-one
Copy link

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.

@luroto
Copy link

luroto commented Oct 9, 2023

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

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

No branches or pull requests

3 participants