\doxysection{src/core/stats\+\_\+statsd.c File Reference}
\label{stats__statsd_8c}\index{src/core/stats\_statsd.c@{src/core/stats\_statsd.c}}
{\ttfamily \#include \char`\"{}config.\+h\char`\"{}}\newline
{\ttfamily \#include $<$osmocom/core/stats.\+h$>$}\newline
{\ttfamily \#include $<$string.\+h$>$}\newline
{\ttfamily \#include $<$stdint.\+h$>$}\newline
{\ttfamily \#include $<$inttypes.\+h$>$}\newline
{\ttfamily \#include $<$errno.\+h$>$}\newline
{\ttfamily \#include $<$osmocom/core/utils.\+h$>$}\newline
{\ttfamily \#include $<$osmocom/core/logging.\+h$>$}\newline
{\ttfamily \#include $<$osmocom/core/rate\+\_\+ctr.\+h$>$}\newline
{\ttfamily \#include $<$osmocom/core/stat\+\_\+item.\+h$>$}\newline
{\ttfamily \#include $<$osmocom/core/msgb.\+h$>$}\newline
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
static int \textbf{ osmo\+\_\+stats\+\_\+reporter\+\_\+statsd\+\_\+send\+\_\+counter} (struct \textbf{ osmo\+\_\+stats\+\_\+reporter} $\ast$srep, const struct \textbf{ rate\+\_\+ctr\+\_\+group} $\ast$ctrg, const struct \textbf{ rate\+\_\+ctr\+\_\+desc} $\ast$\textbf{ desc}, int64\+\_\+t value, int64\+\_\+t delta)
\item 
static int \textbf{ osmo\+\_\+stats\+\_\+reporter\+\_\+statsd\+\_\+send\+\_\+item} (struct \textbf{ osmo\+\_\+stats\+\_\+reporter} $\ast$srep, const struct \textbf{ osmo\+\_\+stat\+\_\+item\+\_\+group} $\ast$statg, const struct \textbf{ osmo\+\_\+stat\+\_\+item\+\_\+desc} $\ast$\textbf{ desc}, int64\+\_\+t value)
\item 
struct \textbf{ osmo\+\_\+stats\+\_\+reporter} $\ast$ \textbf{ osmo\+\_\+stats\+\_\+reporter\+\_\+create\+\_\+statsd} (const char $\ast$\textbf{ name})
\begin{DoxyCompactList}\small\item\em Create a stats\+\_\+reporter reporting to statsd. \end{DoxyCompactList}\item 
static void \textbf{ osmo\+\_\+stats\+\_\+reporter\+\_\+sanitize\+\_\+name} (char $\ast$buf)
\begin{DoxyCompactList}\small\item\em Replace all illegal \textquotesingle{}\+:\textquotesingle{} in the stats name, but not when used as value seperator. \end{DoxyCompactList}\item 
static int \textbf{ osmo\+\_\+stats\+\_\+reporter\+\_\+statsd\+\_\+send} (struct \textbf{ osmo\+\_\+stats\+\_\+reporter} $\ast$srep, const char $\ast$name1, const char $\ast$index1, const char $\ast$name2, int64\+\_\+t value, const char $\ast$unit)
\end{DoxyCompactItemize}
