statsd.h 533 B

12345678910111213141516171819202122232425
  1. // SPDX-License-Identifier: GPL-3.0-or-later
  2. #ifndef NETDATA_STATSD_H
  3. #define NETDATA_STATSD_H 1
  4. #include "../../daemon/common.h"
  5. #define STATSD_LISTEN_PORT 8125
  6. #define STATSD_LISTEN_BACKLOG 4096
  7. #define NETDATA_PLUGIN_HOOK_STATSD \
  8. { \
  9. .name = "STATSD", \
  10. .config_section = NULL, \
  11. .config_name = NULL, \
  12. .enabled = 1, \
  13. .thread = NULL, \
  14. .init_routine = NULL, \
  15. .start_routine = statsd_main \
  16. },
  17. extern void *statsd_main(void *ptr);
  18. #endif //NETDATA_STATSD_H