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

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

Open
peterbaumert opened this issue Nov 4, 2024 · 0 comments

Comments

@peterbaumert
Copy link

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)"
        ]
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

1 participant