metric_name and label_name have the usual Prometheus expression language restrictions. label_value can be any sequence of UTF-8 characters, but the backslash, the double-quote, and the line-feed characters have to be escaped as \, \", and \n, respectively
Based on the Prometheus documentation: https://prometheus.io/docs/instrumenting/exposition_formats/#text-format-details
Actual Output:
Expected Output: