Skip to content

Commit 33a7a40

Browse files
authored
fix(loki.source.podlogs): set validation scheme (#4931)
* set validation scheme
1 parent a51597a commit 33a7a40

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

internal/component/loki/source/podlogs/relabel.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ func convertRelabelConfig(in []*promv1.RelabelConfig) ([]*relabel.Config, error)
3939
outRule.Action = relabel.Action(strings.ToLower(inRule.Action))
4040
}
4141

42+
// TODO: add support for choosing validation scheme: https://github.com/grafana/alloy/issues/4122
43+
outRule.NameValidationScheme = model.LegacyValidation
44+
4245
res = append(res, &outRule)
4346
}
4447

0 commit comments

Comments
 (0)