[SR-Users] Prometheus module stat

Federico Cabiddu federico.cabiddu at gmail.com
Fri Jun 12 16:29:38 CEST 2020


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 at 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 at gmail.com
> phone: +34669448337
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20200612/1380209e/attachment.html>


More information about the sr-users mailing list