summaryrefslogtreecommitdiffstats
path: root/collectors/statsd.plugin/statsd.h
blob: 37d6a08b3e50af2b7f4fe9136dc865c4c9deec4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// SPDX-License-Identifier: GPL-3.0-or-later

#ifndef NETDATA_STATSD_H
#define NETDATA_STATSD_H 1

#include "daemon/common.h"

#define STATSD_LISTEN_PORT 8125
#define STATSD_LISTEN_BACKLOG 4096

#define NETDATA_PLUGIN_HOOK_STATSD \
    { \
        .name = "STATSD", \
        .config_section = NULL, \
        .config_name = NULL, \
        .enabled = 1, \
        .thread = NULL, \
        .init_routine = NULL, \
        .start_routine = statsd_main \
    },


extern void *statsd_main(void *ptr);

#endif //NETDATA_STATSD_H