influxdata / influxdata/helm-charts

Quantile Aggregator Plugin configuration not parsed correctly

Open
#524 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
Mustache
Stars
257
Forks
347
Avg merge
4d 20h
Merged PRs (30d)
9

Description

Plugin Configuration:

```yaml
- 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.

```yaml
- 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.

Contributor guide

Open the contributing guide

Research direction

Locate _helpers.tpl and trace how the quantile plugin configuration is rendered from YAML. Verify the conversion preserves floating-point values such as 0.99 rather than converting them to integers, then confirm the rendered Telegraf configuration starts successfully with the provided quantile settings.

Written by the indexing model from the issue text.

Assessment

Tech stack
helm
Domain
devops
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.