Skip to content

Commit 4a05964

Browse files
Func86cstyan
andauthored
fix: Use to the proper config names in warning messages (#12114)
Co-authored-by: Callum Styan <callumstyan@gmail.com>
1 parent 0eba448 commit 4a05964

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎pkg/validation/validate.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ const (
6262
DuplicateLabelNames = "duplicate_label_names"
6363
DuplicateLabelNamesErrorMsg = "stream '%s' has duplicate label name: '%s'"
6464
DisallowedStructuredMetadata = "disallowed_structured_metadata"
65-
DisallowedStructuredMetadataErrorMsg = "stream '%s' includes structured metadata, but this feature is disallowed. Please see `limits_config.structured_metadata` or contact your Loki administrator to enable it."
65+
DisallowedStructuredMetadataErrorMsg = "stream '%s' includes structured metadata, but this feature is disallowed. Please see `limits_config.allow_structured_metadata` or contact your Loki administrator to enable it."
6666
StructuredMetadataTooLarge = "structured_metadata_too_large"
67-
StructuredMetadataTooLargeErrorMsg = "stream '%s' has structured metadata too large: '%d' bytes, limit: '%d' bytes. Please see `limits_config.structured_metadata_max_size` or contact your Loki administrator to increase it."
67+
StructuredMetadataTooLargeErrorMsg = "stream '%s' has structured metadata too large: '%d' bytes, limit: '%d' bytes. Please see `limits_config.max_structured_metadata_size` or contact your Loki administrator to increase it."
6868
StructuredMetadataTooMany = "structured_metadata_too_many"
6969
StructuredMetadataTooManyErrorMsg = "stream '%s' has too many structured metadata labels: '%d', limit: '%d'. Please see `limits_config.max_structured_metadata_entries_count` or contact your Loki administrator to increase it."
7070
)

0 commit comments

Comments
 (0)