tempodb / tempodb-python

Python client for TempoDB
MIT License
28 stars 19 forks source link

Series key regex does not support full character set #33

Open ajcronk opened 10 years ago

ajcronk commented 10 years ago

From the docs at https://tempo-db.com/docs/api/series/

"Valid characters for the series key are all UTF-8 characters, except for the control characters (0x00-0x0F,0x7F)."

But the regex is more limited: https://github.com/tempodb/tempodb-python/blob/master/tempodb/client.py#L24

Would expect this to successfully create a series: s = client.create_series('São Paulo')