It is possible for labels to have values which do not have the String.Chars protocol implemented, such as Ecto structs. If one of these values is encountered, the entire scrape is unable to be processed.
We should add exception handling around this operation, logging a warning that it occured, and continuing on with the export.
It is possible for labels to have values which do not have the
String.Chars
protocol implemented, such as Ecto structs. If one of these values is encountered, the entire scrape is unable to be processed.We should add exception handling around this operation, logging a warning that it occured, and continuing on with the export.