| 1 | // SPDX-License-Identifier: GPL-3.0-or-later |
| 2 | |
| 3 | #ifndef ND_SENTRY_H |
| 4 | #define ND_SENTRY_H |
| 5 | |
| 6 | #include "libnetdata/common.h" |
| 7 | |
| 8 | void nd_sentry_init(void); |
| 9 | void nd_sentry_fini(void); |
| 10 | |
| 11 | const char *nd_sentry_path(void); |
| 12 | |
| 13 | void nd_sentry_set_user(const char *guid); |
| 14 | void nd_sentry_add_fatal_message_as_breadcrumb(void); |
| 15 | void nd_sentry_add_shutdown_timeout_as_breadcrumb(void); |
| 16 | |
| 17 | void nd_sentry_crash_report(bool enable); |
| 18 | |
| 19 | #endif /* ND_SENTRY_H */ |