You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The docs suggest you can set an empty value in the values key/value map but that's not actually supported by the code.
stage.labels {
values = {
env = "", // Sets up an 'env' label, based on the 'env' extracted value.
user = "username", // Sets up a 'user' label, based on the 'username' extracted value.
}
}
The above code snippet from the docs suggest that an empty value implies using the key but the code does not do that. See
URL
https://grafana.com/docs/alloy/latest/reference/components/loki/loki.process/
Feedback
The docs suggest you can set an empty value in the values key/value map but that's not actually supported by the code.
The above code snippet from the docs suggest that an empty value implies using the key but the code does not do that. See
alloy/internal/component/loki/process/stages/labels.go
Line 71 in 1881ae4
alloy/internal/component/loki/process/stages/structured_metadata.go
Line 50 in 1881ae4
I would expect those to check for the value being empty but they're not.
The text was updated successfully, but these errors were encountered: