backoff strategies
|
- |
constant strategy
|
- |
appears to work
|
- |
exponential strategy
|
- |
appears to work
|
- |
query builder
|
- |
measurement builder
|
- |
builds with only name
|
- |
builds with name and rp
|
- |
builds with name, rp, and db
|
- |
builds with name and db
|
- |
throws when a name is omitted
|
- |
expression builder
|
- |
creates basic queries
|
- |
inserts data types correctly
|
- |
throws when using a flagged regex
|
- |
throws when using un-stringifyable object
|
- |
unit/builder.test.js |
- |
grammar
|
- |
unit/grammar.test.js |
- |
unit/grammar.test.js |
- |
does not escape raw values
|
- |
escapes backslashes (issues #486, #516)
|
- |
escapes complex values (issue #242)
|
- |
converts a nanoseconds timestamp to a nano date
|
- |
converts a nanoseconds timestamp with trailing zeroes to a nano date
|
- |
formatting
|
- |
formats nanosecond dates
|
- |
formats millisecond dates
|
- |
parsing
|
- |
parses ISO dates correctly
|
- |
parses numeric ns timestamps
|
- |
parses numeric u timestamps
|
- |
parses numeric ms timestamps
|
- |
parses numeric s timestamps
|
- |
parses numeric m timestamps
|
- |
parses numeric h timestamps
|
- |
timestamp casting
|
- |
casts dates into timestamps
|
- |
casts nanodates into timestamps
|
- |
accepts strings, numbers liternally
|
- |
throws on non-numeric strings
|
- |
influxdb
|
- |
constructor
|
- |
uses default options
|
- |
parses dsns
|
- |
parses single configs
|
- |
parses cluster configs
|
- |
parses parses schema
|
- |
methods
|
- |
.createDatabase()
|
- |
.dropDatabase()
|
- |
.dropShard()
|
- |
.getDatabaseNames()
|
- |
.getMeasurements()
|
- |
.getSeries() from all
|
- |
.getSeries() from single
|
- |
.dropMeasurement()
|
- |
.dropSeries()
|
- |
drops with only from clause by string
|
- |
drops with only from clause by builder
|
- |
drops with only where clause by string
|
- |
drops with only where clause by builder
|
- |
drops with both
|
- |
.getUsers()
|
- |
.createUser()
|
- |
works with admin specified == true
|
- |
works with admin specified == false
|
- |
works with admin unspecified
|
- |
.grantPrivilege()
|
- |
queries correctly
|
- |
throws if DB unspecified
|
- |
fills in default DB
|
- |
.revokePrivilege()
|
- |
queries correctly
|
- |
throws if DB unspecified
|
- |
fills in default DB
|
- |
.grantAdminPrivilege()
|
- |
.revokeAdminPrivilege()
|
- |
.dropUser()
|
- |
.createContinuousQuery()
|
- |
queries correctly no resample
|
- |
queries correctly with resample
|
- |
throws if DB unspecified
|
- |
fills in default DB
|
- |
.dropContinuousQuery()
|
- |
queries correctly
|
- |
throws if DB unspecified
|
- |
fills in default DB
|
- |
.showContinousQueries()
|
- |
queries correctly
|
- |
throws if DB unspecified
|
- |
fills in default DB
|
- |
.writePoints()
|
- |
writes with all options specified without a schema
|
- |
writes using default options without a schema
|
- |
uses a schema to coerce
|
- |
can accept a schema at runtime
|
- |
handles lack of tags
|
- |
handles lack of fields
|
- |
handles multiple tags
|
- |
writes with the .writeMeasurement method
|
- |
accepts nanoseconds (as ms)
|
- |
accepts timestamp overriding
|
- |
.parsePoint()
|
- |
parses a minimal valid point with default options
|
- |
parses a point with fields, tags, and timestamp
|
- |
accepts custom precision option
|
- |
accepts custom database option
|
- |
uses a schema to coerce
|
- |
should throw an error if extraneous tags are given
|
- |
should throw an error if extraneous fields are given
|
- |
should throw an error if invalid value for field type given
|
- |
.query
|
- |
runs raw queries
|
- |
parses query output
|
- |
selects from multiple
|
- |
passes in options
|
- |
rewrites nanosecond precisions
|
- |
uses placeholders
|
- |
.createRetentionPolicy
|
- |
creates non-default policies
|
- |
creates default policies
|
- |
.alterRetentionPolicy
|
- |
creates non-default policies
|
- |
creates default policies
|
- |
drops retention policies
|
- |
shows retention policies
|
- |
shows shards
|
- |
pool
|
- |
attempts to make an https request
|
- |
passes through request options
|
- |
valid request data content length
|
- |
handles unicode chunks correctly
|
- |
request generators
|
- |
makes a text request
|
- |
includes request query strings and bodies
|
- |
discards responses
|
- |
parses JSON responses
|
- |
errors if JSON parsing fails
|
- |
times out requests
|
- |
retries on a request error
|
- |
fails if too many errors happen
|
- |
calls back immediately on un-retryable error
|
- |
pings servers
|
- |
times out in pings
|
- |
backoff
|
- |
exponential
|
- |
should error if there are no available hosts
|
- |
should reenable hosts after the backoff expires
|
- |
should back off if failures continue
|
- |
should reset backoff after success
|
- |
constant
|
- |
should disable hosts if backoff delay is greater than zero
|
- |
should not disable hosts if backoff delay is zero
|
- |
results
|
- |
parses a empty result
|
- |
parses a simple table of results
|
- |
parses a results with second-precision
|
- |
parses alternate epochs
|
- |
parses grouped results
|
- |
parses empty series
|
- |
parses empty values
|
- |
throws error on an errorful series
|
- |
schema
|
- |
coerceBadly
|
- |
apparently works
|
- |
basic schema
|
- |
coerces data correctly
|
- |
accepts partial data
|
- |
coerces numeric string data
|
- |
strips null and undefined values
|
- |
throws if wrong data type provided (bool)
|
- |
throws if wrong data type provided (float)
|
- |
throws if wrong data type provided (int)
|
- |
allows valid tags
|
- |
throws if invalid tags are provided
|
- |
throws if invalid fields are provided
|
- |