Skip to content

Telegraf --watch-config doesn't support directories #9985

@8none1

Description

@8none1

System info:

Telegraf 1.20 docker image running in a k8s container

Steps to reproduce:

  1. Configure telegraf with the --watch-config inotify and --config-directory options
  2. Have multiple config files inside the config directory
  3. Change one of them

Expected behavior:

I would expect Telegraf to spot that a config file has been changed and restart.

Actual behavior:

It appears that Telegraf is unaware of the changed file and does not restart.

Additional info:

#9485
9508d4f

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/agentbugunexpected problem or unintended behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions