ex_flux v0.2.0 ExFlux.Conn.HTTP View Source

DSL around HTTPoison for interacting with the endpoints exposed by InfluxDB

Link to this section Summary

Functions

check the status of the influxdb instance

queries that mutate the database or insert data (i.e. select...into, alter, create, etc)

queries that do not mutate the data (i.e. select and show). "select ... into" queries do mutations, so post_query/2 should be used in this case

ship datapoints to a pre-existing database when UDP is unreliable or unacceptable

Link to this section Functions

check the status of the influxdb instance

Link to this function

post_query(query_string, opts)

View Source

queries that mutate the database or insert data (i.e. select...into, alter, create, etc)

Link to this function

query(query_string, opts)

View Source

queries that do not mutate the data (i.e. select and show). "select ... into" queries do mutations, so post_query/2 should be used in this case

Link to this function

write(encoded_points, opts)

View Source

ship datapoints to a pre-existing database when UDP is unreliable or unacceptable