Hi David,
in master branch there is the new "stats_name_separator" https://www.kamailio.org/wiki/cookbooks/devel/core#stats_name_separator.

Cheers,

Federico

On Fri, Jun 12, 2020 at 4:08 PM David Villasmil <david.villasmil.work@gmail.com> wrote:
Hello all,

Anyone here uses the prometheus module? There’s a core stat that includes a hyphen (“-“) and Prometheus doesn’t support that, only underscores are allowed 

kamailio_usrloc_location-contacts

I’m thinking maybe I can create a custom counter and set it to that stat but with the correct name, is that possible?

--
Regards,

David Villasmil
email: david.villasmil.work@gmail.com
phone: +34669448337
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users