[sr-dev] [kamailio/kamailio] usrloc: change "-" for "_" in stats name to be prometheus compliant (#2304)

Daniel-Constantin Mierla notifications at github.com
Tue Apr 28 15:49:34 CEST 2020


With the global parameter I was thinking of the cases when someone has already a monitoring/admin tool using existing stats names, practically this change will break them, requiring to update them as well, which is not always easy.

What you can do is to add a define in `core/config.h`, like:

```
#define KSR_STATS_NAMESEP '_'
```

Use it across those modules/patches and later I can add a global config param to replace it, if considered useful.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/2304#issuecomment-620619839
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20200428/dbf51045/attachment.html>


More information about the sr-dev mailing list