Access Traces via Lua and/or a TracesToLogs filter #8711
mp3monster
started this conversation in
Ideas
Replies: 1 comment
-
I think there is some work in this area for processors rather than filters to work with metrics and traces. Currently filters only work for logs. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It would bev really good if we could access Trace data within a Fluent Bit pipeline. While traces should be immutable, they may well contain meaningful data from which additional metrics can be drawn. Such as how long it takes to complete a span (representing a transactional scope). Having metrics like this will make it possible to start seeing correlations in performance.
There may also be data in the trace relevant to log related activities such as perhaps request originators etc.
The two easiest routes to this would be to create a log event from the trace data and to have access the trace construct through a Lua method - rather than change the existing callback we could have Lua callbacks for each signal type, so the record object is suitably structured?
Beta Was this translation helpful? Give feedback.
All reactions