Skip to content

Commit

Permalink
router: added profile event support
Browse files Browse the repository at this point in the history
Signed-off-by: Leonardo Alminana <[email protected]>
  • Loading branch information
leonardo-albertovich committed Dec 18, 2024
1 parent c323c63 commit f8fb651
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/fluent-bit/flb_router.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ static inline int flb_router_match_type(int in_event_type,
!(o_ins->event_type & FLB_OUTPUT_TRACES)) {
return FLB_FALSE;
}
else if (in_event_type == FLB_INPUT_PROFILES &&
!(o_ins->event_type & FLB_OUTPUT_PROFILES)) {
return FLB_FALSE;
}
else if (in_event_type == FLB_INPUT_BLOBS &&
!(o_ins->event_type & FLB_OUTPUT_BLOBS)) {
return FLB_FALSE;
Expand Down

0 comments on commit f8fb651

Please sign in to comment.