diff options
author | Daniel Willmann <dwillmann@sysmocom.de> | 2018-10-11 17:55:28 +0200 |
---|---|---|
committer | Daniel Willmann <dwillmann@sysmocom.de> | 2018-10-24 16:37:05 +0200 |
commit | 0c878fd4f5b5029704b57fee63ecf8f07c8fdedf (patch) | |
tree | ddd91559b215aec28461673148eba812467d5071 /src/ctrl/control_if.c | |
parent | 7a2ec6e118275da360efb3d36cdac730b6bcb437 (diff) |
stats_statsd: Send all stat_items as gauges
When sending a statsd metric we need to specify a type which can be a
"g"auge, "c"ounter, "t"imer, "h"istogram, and "m"eter.
We used to just pass the stat_item unit into this field, but that is the
unit of the metric (Seconds for a timer, % for utilization, ...).
Change the type field so stat_items are sent as "g"auges. Note that
negative values don't seem to be supported by statsd.
Change-Id: Ia16270d36c9a14521594de4b99a48c83e4ac07d4
Diffstat (limited to 'src/ctrl/control_if.c')
0 files changed, 0 insertions, 0 deletions