mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 01:28:20 +00:00
Rework everything to access the prometheus-cpp objects more directly
This commit is contained in:
parent
ec3e68928f
commit
84aa308527
17 changed files with 469 additions and 606 deletions
|
@ -419,13 +419,13 @@ Manager::Manager()
|
|||
: plugin::ComponentManager<logging::Component>("Log", "Writer"),
|
||||
total_log_stream_writes_family(telemetry_mgr->CounterFamily("zeek", "log-stream-writes", {"module", "stream"},
|
||||
"Total number of log writes for the given stream.",
|
||||
"1", true)),
|
||||
"", true)),
|
||||
total_log_writer_writes_family(
|
||||
telemetry_mgr
|
||||
->CounterFamily("zeek", "log-writer-writes", {"writer", "module", "stream", "filter-name", "path"},
|
||||
"Total number of log writes passed to a concrete log writer not vetoed by stream or "
|
||||
"filter policies.",
|
||||
"1", true)) {
|
||||
"", true)) {
|
||||
rotations_pending = 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue