label_values:Windows shows a problem with the drive letter

In the grafana I need to display the value of the Prometheus monitor item, and want to filter with the parameter: divice, but the filtered parameters are incorrect.
The value of the parameter in Prometheus is: device=“C:\”, but the value filtered out in grafana is only device=“C:”, why?

Sounds like it could be a bug. Backslash is used for escaping in the code. Can you see if it is Grafana that is not escaping C:\properly or if it is Prometheus that is not escaping it?

You can look at the response returned from Prometheus on the network tab in the Chrome dev tools. Probably the http request you want to examine is the series endpoint if you have lots of requests on the network tab.

Thank you very much for your reply.