Closed awelzel closed 3 weeks ago
Here's some information the logs that are generated in prof.log:
At first call:
Logs:
process
metrics, or can be calculated from the differences between reports.zeek::detail::killed_by_inactivity
“Expensive” Logs:
Some of the
prof.log
data produced would be useful to be exposed via the telemetry framework and Prometheus directly. Either by leveraging the C++ API or scripting.Reference to method writing out this data: https://github.com/zeek/zeek/blob/master/src/Stats.cc#L72
The implementation might be in the subsystems directly: E.g. updating counters when producing or consuming messages for threads, rather than hooking into the existing
ProfileLogger::Log()
method._Originally posted by @timwoj in https://github.com/zeek/zeek-docs/pull/186#discussion_r1204509867_