pub fn escape_string(s: &str) -> String
Escapes a string value for embedding in a PromQL double-quoted string literal. This is the inverse of unquote_string — it re-escapes backslashes and double quotes.
unquote_string