-
-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Error on create model] "invalid field features.0.measurement: not a valid value" (name limited by config "^[a-zA-Z0-9-_@]+$") ?? #392
Comments
Hello again @regel This regex would be nice https://regex101.com/r/w633je/2 it will match with
|
Hi Toni. Yes. Good idea! Yes you can open a PR on this. The unit tests can be updated too based on the examples given. Ps: I’m on vacation in the beautiful Loire valley. Responses will be delayed. |
Thank you very much for your fast answer Ok , I will be out for 1 week also just from today, I will build a PR when I come back. |
Hello @regel , sorry for this new issue.
I'm trying to create a model with this definition.
it seems like doesn't like
traffic.rxt_et-1/0/0
as measurement maybe character validation?loudml/loudml/influx.py
Line 315 in 2d05a3e
loudml/loudml/schemas.py
Lines 28 to 32 in 2d05a3e
@regel IMHO is really important add as many characters in the measurement name as posibles in the influxdb database
As explained in the following doc
"',;:-/\.[]{}
are valid characters and should be only scaped "" if conflicting with regex to use them, also key length limit should be 64Kb lengthWould you accept a PR to fix this error?
Thank you in advance
The text was updated successfully, but these errors were encountered: