Skip to content

Commit

Permalink
filter_log_to_metrics: fix label test to use 'add_label'.
Browse files Browse the repository at this point in the history
Signed-off-by: Phillip Whelan <[email protected]>
  • Loading branch information
pwhelan authored and leonardo-albertovich committed Sep 26, 2023
1 parent c4cea68 commit 36ce4b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/runtime/filter_log_to_metrics.c
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,7 @@ void flb_test_log_to_metrics_label(void)
"metric_name", "test",
"metric_description", "Counts messages",
"kubernetes_mode", "off",
"label", "pod_name $kubernetes['pod_name']",
"add_label", "pod_name $kubernetes['pod_name']",
NULL);

out_ffd = flb_output(ctx, (char *) "lib", (void *)&cb_data);
Expand Down

0 comments on commit 36ce4b6

Please sign in to comment.