Closed candies404 closed 1 month ago
Thanks for finding the root cause. I was experiencing this issue last week too. It should be related to this pull request:
https://github.com/louislam/uptime-kuma/pull/4704#discussion_r1738343271
Actually I think it is not related to non-ASCII, it the pr causes all monitors are not working, I am going to revert the pr now.
π I have found these related issues/pull requests
No correlation has been found
π‘οΈ Security Policy
Description
When using non-ASCII characters (such as Chinese) in tag names, the system throws an "Invalid label name" error during Prometheus metrics initialization.
π Reproduction steps
π Expected behavior
The system should handle non-ASCII tag names gracefully, either by converting them to valid Prometheus label names or by using a separate field for Prometheus-compatible names.
π Actual Behavior
The system crashes with an "Invalid label name" error when initializing Prometheus metrics.
π» Uptime-Kuma Version
2.0.0-dev
π» Operating System and Arch
Ubuntu Linux
π Browser
127.0.6533.120
π₯οΈ Deployment Environment
π Relevant log output