vector
vector copied to clipboard
Duplicate logs in graphql clients when vector config is reloaded by config watcher
A note for the community
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment
Problem
Logs are getting duplicated in the graphql client when i have the --watch-config flag set and i make a change to the config file
Ive seen this happening on both the macos and alpine versions
How to reprocuce
- Start vector with the graphql api enabled and --watch-config flag set
- Subscribe to log events using the
outputEventsByComponentIdPatternsgraphql subscription - Make a change to the config file and save
- The logs get duplicated
Before reloading the config
After reloading the config
Configuration
Version
0.46.1 (aarch64-apple-darwin 9a19e8a 2025-04-14 18:36:30.707862743)
Debug Output
Example Data
No response
Additional Context
No response
References
No response