nexogen-international / Nexogen.Libraries.Metrics

Library for collecting application metrics in .NET and exporting them to Prometheus
MIT License
61 stars 9 forks source link

Fixed escaping of backslashes #19

Closed gebolze closed 6 years ago

gebolze commented 6 years ago

A backslash in label values and help docstrings needs to be escaped as \\

gebolze commented 6 years ago

Fixes #18

kodfodrasz commented 6 years ago

Thank you very much for the bug report, and the PR.

I have checked and escaping was incorrect indeed. Your fix is in accordance with the documentation.