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

env: add new ${FLUENT_BIT_PID} environment variable #9563

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

edsiper
Copy link
Member

@edsiper edsiper commented Nov 6, 2024

This patch adds an internal environment variable ${FLUENT_BIT_PID} that exposes the PID of the running Fluent Bit process. This enables other components to easily access and utilize the PID as needed.

Usage example:

fluent-bit -i cpu -p "pid=\${FLUENT_BIT_PID}" -o stdout

Fluent Bit is licensed under Apache 2.0, by submitting this pull request I understand that this code will be released under the terms of that license.

Signed-off-by: Eduardo Silva <[email protected]>
Signed-off-by: Eduardo Silva <[email protected]>
@edsiper
Copy link
Member Author

edsiper commented Nov 11, 2024

somehow enabling this now makes the fuzzer test to fail, need more investigation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant