diff options
| author | 童宗振 <[email protected]> | 2024-05-06 10:58:36 +0000 |
|---|---|---|
| committer | 童宗振 <[email protected]> | 2024-05-06 10:58:36 +0000 |
| commit | 5389605c85d95ebe2fbfdebcb8a9f9f097eafa84 (patch) | |
| tree | 71297cd81ce4936efeb90a3577fe8014108aebb7 /include/monit.h | |
| parent | 427e7e702c3eb91bcaa5bb90c710986dd30678e9 (diff) | |
| parent | d717475982e08f95f64306601689efbf374dbafa (diff) | |
Merge branch 'bugfix' into 'master'
Bugfix
See merge request tsg/dp_telemetry_app!27
Diffstat (limited to 'include/monit.h')
| -rw-r--r-- | include/monit.h | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/include/monit.h b/include/monit.h index 94abc02..d833832 100644 --- a/include/monit.h +++ b/include/monit.h @@ -1,6 +1,24 @@ #pragma once #include "common.h" -#include "trace_output.h" + +struct record_saving_stat +{ + uint64_t recv_success; + uint64_t init_old_packet_drop; + + uint64_t save_failed_at_job_deleted; + uint64_t save_failed_at_mutex_lock; + + uint64_t save_to_kafka_failed_at_decode_messagepack; + uint64_t save_to_kafka_failed_at_send; + uint64_t save_to_kafka_success; + + uint64_t save_to_file_failed_at_decode_to_str; + uint64_t save_to_file_failed_at_pcapng_open; + uint64_t save_to_file_failed_at_pcapng_format; + uint64_t save_to_file_failed_at_write_to_disk; + uint64_t save_to_file_success; +}; struct monit { |
