InfluxDB v0.2.1 InfluxDB.Config

All the InfluxDB api functions require a config data structure, this module provides the necessary functions for creating the config data structure.

Summary

Functions

Create a new config given the provided options

Types

t()
t() :: :influxdb_config.config

Functions

new(opts)
new(options) :: :influxdb_config.config

Create a new config given the provided options

Options

  • :host - the host to connect to. (default: localhost)
  • :port - the port to connect to. (default: 8086)
  • :username - the username to use for authentication. (default: root)
  • :password - the password to use for authentication. (default: root)
  • :database - the database to use.