[SR-Users] Prometheus module stat

David Villasmil david.villasmil.work at gmail.com
Fri Jun 12 16:37:53 CEST 2020


Yep, thanks!!!

Regards,

David Villasmil
email: david.villasmil.work at gmail.com
phone: +34669448337


On Fri, Jun 12, 2020 at 3:31 PM Federico Cabiddu <federico.cabiddu at gmail.com>
wrote:

> 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
>>
> _______________________________________________
> 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/ac533d68/attachment.html>


More information about the sr-users mailing list