influxdata / influxdata/helm-charts

Telegraf helm chart output tagpass and tagdrop should not generate double brackets

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

Description

Same issue like in #375 just this time for outputs.

values.yaml:

```
outputs:
- basicstats:
period: "30s"
drop_original: true
stats:
- "sum"
taginclude:
- "counter"
- "sql_instance"
tagpass:
counter:
- "Blocked tasks"
- "CPU usage %"
- "Used memory (KB)"
```

expected output:

```
[[outputs.basicstats]]
drop_original = true
period = "30s"
stats = [
"sum"
]
taginclude = [
"counter",
"sql_instance"
]
[outputs.basicstats.tagpass]
counter = [
"Blocked tasks",
"CPU usage %",
"Used memory (KB)"
]
```

actual output:

```
[[outputs.basicstats]]
drop_original = true
period = "30s"
stats = [
"sum"
]
taginclude = [
"counter",
"sql_instance"
]
[[outputs.basicstats.tagpass]]
counter = [
"Blocked tasks",
"CPU usage %",
"Used memory (KB)"
]
```

Contributor guide

Open the contributing guide

Research direction

Start with the Helm chart templates that render output tagpass and tagdrop, using the values.yaml example and issue #375 as references. Confirm the generated TOML uses a single-bracket [outputs.basicstats.tagpass] table rather than double brackets, while preserving the shown output fields.

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
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.