A user reached me to add a way to add the custom labels into the statsd
module, so a better way to report metrics to the observability platform.

I keep the same old functions and add a new parameter to the statsd
modules to both interfaces cfg and kemi.

The full documentation can be found here:
https://docs.datadoghq.com/developers/dogstatsd/datagram_shell/?tab=metrics

So, each function can be used like this: statsd_set("fooo", 1, "inbound"); statsd_gauge("NotFound", "+1", "outbound,carrierFoo"); statsd_gauge("AuthFailed", "+1", "carrier=foo,priority=10");

Signed-off-by: Eloy Coto eloy.coto@acalustra.com
Tested-by: Alex Antonevych alex.antonevych@replicant.ai

Pre-Submission Checklist

Type Of Change

Checklist:

I'm waiting until first review on function arguments to create the docs
changes.


You can view, comment on, or merge this pull request online at:

  https://github.com/kamailio/kamailio/pull/3529

Commit Summary

File Changes

(3 files)

Patch Links:


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <kamailio/kamailio/pull/3529@github.com>