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
doc/
subfolder, the README file is autogenerated)I'm waiting until first review on function arguments to create the docs
changes.
https://github.com/kamailio/kamailio/pull/3529
(3 files)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.