Hi Team , I am embedding Fluent Bit inside my app...
# fluent-bit
p
Hi Team , I am embedding Fluent Bit inside my application using the C API. Is there a way to hot-reload the Fluent Bit engine (for example, to apply new configuration) without restarting the application? Thanks in advance.
p
There is a hot reload functionality yes
👍 1
p
Hi @Pat, Thanks for confirming that hot reload functionality exists. Could you please provide more details on how to use hot reload when embedding Fluent Bit with the C API? Specifically: Which API functions should be used to trigger a reload? Can we point to a new config file dynamically, or update individual inputs/outputs at runtime? Are there any examples or best practices for using hot reload in an embedded scenario? For context, I’m invoking the Fluent Bit C API from a C# application (via P/Invoke). Appreciate your guidance!
p
I'd look at the code for the details, hot reload can be triggered by signal or the web server endpoint