Project

General

Profile

Actions

Bug #3647

closed

stat_items report unit as type to statsd

Added by daniel over 5 years ago. Updated over 5 years ago.

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

100%

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/

Actions #1

Updated by daniel over 5 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Merged

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)