Repository navigation
Conversation
|
Can we please have this PR decoupled from the #18? At this moment that changeset cannot not be merged. |
|
Yes I will prepare it. I am used to using modules, therefore it was more comfortable for me to do it like this, sorry for that |
This reverts commit c536f88.
|
done @khaf |
|
Thank you, this is now much more clear to me. But I think there is no reason to pepper UTF8 validation all over the codebase. There is a central function on the You can add validations only in for range k, v := range rawMetrics {
rawMetrics[k] = sanitizeLabelValue(v)
}Is that what are looking for? |
This reverts commit 9edc300.
|
thanks for the tip, this your proposed solution is much better |
|
OK I merged this PR, but ended up rebasing it due to conflict with the other PR. Thank you for your efforts. |
using #18
based on alicebob/asprom#42 - there is a description of the problem and the used solution is very similar - in this project, there is no wrapper function for metrics so I had to add it to more places.