Source
94
94
95
95
typedef struct
96
96
{
97
97
zbx_uint64_t itemid;
98
98
int tasks_num;
99
99
}
100
100
zbx_pp_sequence_stats_t;
101
101
102
102
ZBX_PTR_VECTOR_DECL(pp_sequence_stats_ptr, zbx_pp_sequence_stats_t *)
103
103
104
+
int zbx_diag_add_preproc_info(const struct zbx_json_parse *jp, struct zbx_json *json, char **error);
104
105
void zbx_preproc_stats_ext_get(struct zbx_json *json, const void *arg);
105
106
zbx_uint64_t zbx_preprocessor_get_queue_size(void);
106
107
void zbx_preprocessor_get_worker_info(zbx_process_info_t *info);
107
108
void zbx_preprocess_item_value(zbx_uint64_t itemid, zbx_uint64_t hostid, unsigned char item_value_type,
108
109
unsigned char item_flags, AGENT_RESULT *result, zbx_timespec_t *ts, unsigned char state, char *error);
109
110
void zbx_preprocessor_flush(void);
110
111
int zbx_preprocessor_get_diag_stats(zbx_uint64_t *preproc_num, zbx_uint64_t *pending_num,
111
112
zbx_uint64_t *finished_num, zbx_uint64_t *sequences_num, char **error);
112
113
int zbx_preprocessor_get_top_sequences(int limit, zbx_vector_pp_sequence_stats_ptr_t *sequences, char **error);
113
114
int zbx_preprocessor_test(unsigned char value_type, const char *value, const zbx_timespec_t *ts,