You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had the idea of improving the usage of tracing from the command line. To do this we would need to add support for new command line options to fluent-bit. I have two proposals, which could be combined:
bash$ fluent-bit \
-Z # enable tracing \
-i dummy \ # input
-o stdout -m '*'# output
--trace-input dummy.0 # input to trace
--trace-output stdout # trace output
--trace-output-property format=json # set the output format to JSON
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Invocation from command line
I had the idea of improving the usage of tracing from the command line. To do this we would need to add support for new command line options to fluent-bit. I have two proposals, which could be combined:
It's way too wordy, IMO... but it works!
And a single one liner?
Here we define in a single string the trace to add:
dummy.0
stdout
format: json
I currently have a branch with this implementation here: https://github.com/fluent/fluent-bit/tree/feat-trace-cmdline.
Beta Was this translation helpful? Give feedback.
All reactions