41#ifndef PROTOCORE_STATSD_H
42#define PROTOCORE_STATSD_H
46#if PROTOCORE_ENABLE_STATSD
132 StatsdServerArgs server;
134 StatsdMetricArgs metric;
135 StatsdValueArgs value;
142extern StatsdVars StatsdV;
147 void (*
const init)(uint8_t *work);
148 void (*
const format)(uint8_t *work);
149 void (*
const count)(uint8_t *work);
150 void (*
const gauge)(uint8_t *work);
151 void (*
const gauge_delta)(uint8_t *work);
152 void (*
const timing)(uint8_t *work);
153 void (*
const set)(uint8_t *work);
158void protocore_statsd_init(uint8_t *work);
159void protocore_statsd_format(uint8_t *work);
160void protocore_statsd_count(uint8_t *work);
161void protocore_statsd_gauge(uint8_t *work);
162void protocore_statsd_gauge_delta(uint8_t *work);
163void protocore_statsd_timing(uint8_t *work);
164void protocore_statsd_set(uint8_t *work);
170static const StatsdNs Statsd __attribute__((unused)) = {
171 .init = protocore_statsd_init,
172 .format = protocore_statsd_format,
173 .count = protocore_statsd_count,
174 .gauge = protocore_statsd_gauge,
175 .gauge_delta = protocore_statsd_gauge_delta,
176 .timing = protocore_statsd_timing,
177 .set = protocore_statsd_set,
189uint8_t *protocore_statsd_span(
void);
PROTO_ENUM_PACKED
Application protocol spoken on a listener port or connection slot.
#define PROTOCORE_BEGIN_DECLS
Give a header's declarations C linkage, so their symbol names carry no parameter types.
_Bool proto_bool
The truth value.
#define PROTOCORE_END_DECLS