Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChunkedResponse ¶
type ChunkedResponse struct {
// contains filtered or unexported fields
}
ChunkedResponse is a wrapper over influx.ChunkedResponse. Used for better memory usage control while iterating over huge time series.
type Client ¶
Client represents a wrapper over influx HTTP client
func (*Client) Explore ¶
Explore checks the existing data schema in influx by checking available fields and series, which unique combination represents all possible time series existing in database. The explore required to reduce the load on influx by querying field of the exact time series at once, instead of fetching all of the values over and over.
May contain non-existing time series.
func (*Client) FetchDataPoints ¶
func (c *Client) FetchDataPoints(s *Series) (*ChunkedResponse, error)
FetchDataPoints performs SELECT request to fetch datapoints for particular field.
type Config ¶
type Config struct { Addr string Username string Password string Database string Retention string ChunkSize int Filter Filter }
Config contains fields required for Client configuration