blob: cae9b093e29426b1d9df7043cb5c57d5ad6bfe6c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// SPDX-License-Identifier: GPL-3.0-or-later
#ifndef NETDATA_BACKEND_MONGODB_H
#define NETDATA_BACKEND_MONGODB_H
#include "backends/backends.h"
extern int backends_mongodb_init(const char *uri_string, const char *database_string, const char *collection_string, const int32_t socket_timeout);
extern int backends_mongodb_insert(char *data, size_t n_metrics);
extern void backends_mongodb_cleanup();
extern int read_mongodb_conf(const char *path, char **uri_p, char **database_p, char **collection_p);
#endif //NETDATA_BACKEND_MONGODB_H
|