influxdb.api

This module implements a convenience wrapper API for influx.

Members

Aliases

Database
alias Database = DatabaseImpl!(influxdb.vibe.manage, influxdb.vibe.query, influxdb.vibe.write)

Functions

influxSysTime
SysTime influxSysTime(string time)
shouldEqualLine
void shouldEqualLine(string actual, string expected, string file, size_t line)
toInfluxDateTime
string toInfluxDateTime(DateTime time)

Converts a DateTime to a string suitable for use in queries e.g. SELECT * FROM foo WHERE time >=

toInfluxDateTime
string toInfluxDateTime(SysTime time)

Converts a SysTime to a string suitable for use in queries e.g. SELECT * FROM foo WHERE time >=

Structs

DatabaseImpl
struct DatabaseImpl(alias manageFunc, alias queryFunc, alias writeFunc)

Holds information about the database name and URL, forwards it to the implemetation functions for managing, querying and writing to the DB

InfluxValue
struct InfluxValue

A sum type of values that can be stored in influxdb

Measurement
struct Measurement

An InfluxDB measurement

MeasurementSeries
struct MeasurementSeries

Data for one measurement

Response
struct Response

A query response

Result
struct Result

A result of a query

Values
struct Values
Undocumented in source.

Meta

Authors

Atila Neves (Kaleidic Associates Advisory Limited)

Generated documentation: http://influxdb.code.kaleidic.io/influxdb.html