-
Notifications
You must be signed in to change notification settings - Fork 105
Conversation
My take on this:
My take is: let's merge this PR and try to support already existing spaces. keep everything else as is. |
Wait, when you have a target like |
Yeah, we generally do, but we recently allowed them for particular uses and caught this case.
We have been running this on prod for about 1.5 months and have been good. I know that's not exhaustive, but worth mentioning.
We don't use carbon input :)
Yes, and we adhered to the characters determined from the resolution of #1216
Disallowing spaces would cause us a bit of an issue...
Please :) |
Hmm, That's what happens with graphite already when I use |
i'm talking about expr.Parse which calls parseName.
How should |
I think we need to separate the questions whether spaces should be allowed in tags&values and whether spaces should be allowed in metric names. |
Ok, it might be worth pointing out that this issue is coming from a tag value, not a metric name. If you look back at #1672 we get this because the parsing of |
Yes but my point is that due how the code is layed out, if we apply your patch, it will affect the expression parser, which seems unintentional. |
Just to ping this issue, is the desired change to disallow spaces in names and modify the parser to only allow them in tags/tag values? |
yes, i think that would be better |
Yep, sounds good to me. |
Fixes #1672