Skip to content

Commit f250de4

Browse files
committed
http_server: hs: separate message queues
Signed-off-by: Eduardo Silva <[email protected]>
1 parent d84f295 commit f250de4

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

include/fluent-bit/http_server/flb_hs.h

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ struct flb_hs_buf {
4141
struct flb_hs {
4242
mk_ctx_t *ctx; /* Monkey HTTP Context */
4343
int vid; /* Virtual Host ID */
44-
int qid; /* Message Queue ID */
44+
int qid_metrics; /* Metrics Message Queue ID */
45+
int qid_storage; /* Storage Message Queue ID */
4546

4647
pthread_t tid; /* Server Thread */
4748
struct flb_config *config; /* Fluent Bit context */
@@ -53,7 +54,9 @@ struct flb_hs {
5354

5455
struct flb_hs *flb_hs_create(const char *listen, const char *tcp_port,
5556
struct flb_config *config);
56-
int flb_hs_push_metrics(struct flb_hs *hs, void *data, size_t size);
57+
int flb_hs_push_pipeline_metrics(struct flb_hs *hs, void *data, size_t size);
58+
int flb_hs_push_storage_metrics(struct flb_hs *hs, void *data, size_t size);
59+
5760
int flb_hs_destroy(struct flb_hs *ctx);
5861
int flb_hs_start(struct flb_hs *hs);
5962

0 commit comments

Comments
 (0)