Module influx_udp

Function Index

code_change/3
handle_call/3
handle_cast/2
handle_info/2
init_server/0
start/0
start_link/0
start_pool/2 Start new pool with Name and Options (as map) Options:.
stop/0
terminate/2
write/1 Write binary data or map/proplist point(-s) to influx using default pool.
write/2 Write data points to Series using default pool.
write/3 Write data points with Tags to Series using default pool.
write/4 Write data points with Tags and Time to Series using default pool.
write_to/2 Write binary data or map/proplist point(-s) to influx using named pool.
write_to/3 Write data points to Series using named pool.
write_to/4 Write data points with Tags to Series using named pool.
write_to/5 Write data points with Tags and Time to Series using named pool.

Function Details

code_change/3

code_change(OldVsn, State, Extra) -> any()

handle_call/3

handle_call(Request, From, State) -> any()

handle_cast/2

handle_cast(Msg, State) -> any()

handle_info/2

handle_info(Info, State) -> any()

init_server/0

init_server() -> any()

start/0

start() -> any()

start_link/0

start_link() -> any()

start_pool/2

start_pool(Name::atom(), Options::map()) -> {ok, pid()} | {error, term()}

Start new pool with Name and Options (as map) Options:

- host - InfluxDB hostname

- port - InflxuDB UDP port

- pool_size - Pool size (numer of workers)

- max_overflow - Pool max overflow size

stop/0

stop() -> any()

terminate/2

terminate(Reason, State) -> any()

write/1

write(Data::binary() | influx_data_points()) -> ok

Write binary data or map/proplist point(-s) to influx using default pool. Note: Assumed that data represents InfluxDB-valid input.

write/2

write(Series::atom() | string() | binary(), Points::[influx_data_point()] | influx_data_point()) -> ok

Write data points to Series using default pool.

write/3

write(Series::atom() | string() | binary(), Points::[influx_data_point()] | influx_data_point(), Tags::influx_data_point()) -> ok

Write data points with Tags to Series using default pool.

write/4

write(Series::atom() | string() | binary(), Points::[influx_data_point()] | influx_data_point(), Tags::influx_data_point(), Time::non_neg_integer() | atom()) -> ok

Write data points with Tags and Time to Series using default pool.

write_to/2

write_to(Pool::atom(), Data::binary() | influx_data_points()) -> ok

Write binary data or map/proplist point(-s) to influx using named pool.

write_to/3

write_to(Pool::atom(), Series::atom() | string() | binary(), Points::[influx_data_point()] | influx_data_point()) -> ok

Write data points to Series using named pool.

write_to/4

write_to(Pool::atom(), Series::atom() | string() | binary(), Points::[influx_data_point()] | influx_data_point(), Tags::influx_data_point()) -> ok

Write data points with Tags to Series using named pool.

write_to/5

write_to(Pool::atom(), Series::atom() | string() | binary(), Points::[influx_data_point()] | influx_data_point(), Tags::influx_data_point(), Time::non_neg_integer() | atom()) -> ok

Write data points with Tags and Time to Series using named pool.


Generated by EDoc