19 #ifndef _ASTERISK_STATSD_H
20 #define _ASTERISK_STATSD_H
32 #define AST_STATSD_GAUGE "g"
37 #define AST_STATSD_GUAGE AST_STATSD_GAUGE
39 #define AST_STATSD_COUNTER "c"
41 #define AST_STATSD_TIMER "ms"
43 #define AST_STATSD_HISTOGRAM "h"
48 #define AST_STATSD_METER "m"
65 const char *metric_type,
const char *value,
double sample_rate), {});
87 (
const char *metric_name,
const char *metric_type,
const char *value,
double sample_rate, ...), {});
103 const char *metric_type, intmax_t value,
double sample_rate), {});
125 (
const char *metric_name,
const char *metric_type, intmax_t value,
double sample_rate, ...), {});
135 const char *metric_type, intmax_t value), {});
150 intmax_t value,
double sample_rate), {});
Optional API function macros.
#define AST_OPTIONAL_API(result, name, proto, stub)
Declare an optional API function.
#define AST_OPTIONAL_API_ATTR(result, attr, name, proto, stub)
Declare an optional API function with compiler attributes.