Skip to content
This repository was archived by the owner on Oct 29, 2024. It is now read-only.

improve docs for 0.8 #180

Merged
merged 2 commits into from
Jun 2, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 17 additions & 3 deletions influxdb/influxdb08/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,9 +273,23 @@ def write(self, data):

def write_points(self, data, time_precision='s', *args, **kwargs):
"""
Write to multiple time series names.

:param data: A list of dicts.
Write to multiple time series names. An example data blob is:

data = [
{
"points": [
[
12
]
],
"name": "cpu_load_short",
"columns": [
"value"
]
}
]

:param data: A list of dicts in InfluxDB 0.8.x data format.
:param time_precision: [Optional, default 's'] Either 's', 'm', 'ms'
or 'u'.
:param batch_size: [Optional] Value to write the points in batches
Expand Down