Skip to content

Commit

Permalink
filter_log_to_metrics: rename 'label' option to 'add_label' (#7964)
Browse files Browse the repository at this point in the history
Signed-off-by: Eduardo Silva <[email protected]>
  • Loading branch information
edsiper authored and leonardo-albertovich committed Oct 5, 2023
1 parent 43ebe08 commit ab626d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/filter_log_to_metrics/log_to_metrics.c
Original file line number Diff line number Diff line change
Expand Up @@ -932,9 +932,9 @@ static struct flb_config_map config_map[] = {
"Enable kubernetes log metric fields"
},
{
FLB_CONFIG_MAP_STR, "label", NULL,
FLB_CONFIG_MAP_STR, "add_label", NULL,
FLB_CONFIG_MAP_MULT, FLB_FALSE, 0,
"Specify message field that should be included in the metric"
"Add a label to the metric by supporting record accessor pattern"
},
{
FLB_CONFIG_MAP_STR, "label_field", NULL,
Expand Down

0 comments on commit ab626d0

Please sign in to comment.