summaryrefslogtreecommitdiffstats
path: root/src/plugins/tsdb.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/tsdb.h')
-rw-r--r--src/plugins/tsdb.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/plugins/tsdb.h b/src/plugins/tsdb.h
index 967bce0..527f538 100644
--- a/src/plugins/tsdb.h
+++ b/src/plugins/tsdb.h
@@ -15,9 +15,17 @@
* limitations under the License.
*/
+#define AFB_BINDING_VERSION 2
+#include <afb/afb-binding.h>
+
#include <json-c/json.h>
#include "curl-wrap.h"
+#define DEFAULT_DB "agl-garner"
+#define DEFAULT_DBHOST "localhost"
+#define DEFAULT_DBPORT "8086"
+#define URL_MAXIMUM_LENGTH 2047
+
enum db_available {
INFLUX = 1,
GRAPHITE = 2,