4 #include <netinet/in.h>
void * ke
Definition: metric.h:7
void teoMetricDestroy(teoMetricClass *tm)
Destroy Metrics module.
Definition: metric.c:50
void teoMetricGauge(teoMetricClass *tm, const char *name, int value)
Send gauge teonet metrics.
Definition: metric.c:144
void teoMetricMs(teoMetricClass *tm, const char *name, double value)
Send time(ms) teonet metric.
Definition: metric.c:132
void teoMetricCounter(teoMetricClass *tm, const char *name, int value)
Send counter teonet metric.
Definition: metric.c:108
struct sockaddr_in to
Definition: metric.h:8
void teoMetricCounterf(teoMetricClass *tm, const char *name, double value)
Send counter teonet metric.
Definition: metric.c:120
teoMetricClass * teoMetricInit(void *ke)
Initialize Metrics module.
Definition: metric.c:23
void teoMetricGaugef(teoMetricClass *tm, const char *name, double value)
Send gauge teonet metrics.
Definition: metric.c:156
struct teoMetricClass teoMetricClass