Project

General

Profile

Bug #3647

stat_items report unit as type to statsd

Added by daniel 8 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
10/11/2018
Due date:
% Done:

0%

Spec Reference:

Description

When sending a statsd metric we need to specify a type for statsd which can mainly be "g"auge, "c"ounter, "t"imer.

See https://github.com/etsy/statsd/blob/master/docs/metric_types.md

We used to just pass the stat_item unit into this field, but that is the unit of the metric and can be anything ("s" for seconds, "%" for utilization, ...). Change the type field so stat_items are sent as "g"auges so the different items will at least be displayed.

Patch is in Gerrit:
https://gerrit.osmocom.org/#/c/libosmocore/+/11323/

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)