Skip to content

Commit

Permalink
fix comment and changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
titaneric committed Dec 22, 2024
1 parent 9bf3219 commit 5957703
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion changelog.d/21939_log_to_metric_tags_expansion.feature.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
The `log_to_metric` transformer now support tags expansion similar to Loki sink's labels expansion.
The `log_to_metric` transformer tag key are now template-able which enables tags expansion.

authors: titaneric
2 changes: 1 addition & 1 deletion src/transforms/log_to_metric.rs
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ fn render_tags(
for (k, v) in static_tags {
if let Some(discarded_v) = dynamic_tags.insert(k.clone(), v.clone()) {
warn!(
"Static static overrides dynamic tag. \
"Static tags overrides dynamic tags. \
key: {}, value: {:?}, discarded value: {:?}",
k, v, discarded_v
);
Expand Down

0 comments on commit 5957703

Please sign in to comment.