• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mneudert / instream / 348
99%
master: 99%

Build:
Build:
LAST BUILD BRANCH: test
DEFAULT BRANCH: master
Ran 08 Mar 2017 07:04PM UTC
Jobs 1
Files 34
Run time 2s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
348

push

travis-ci

mneudert
Allow retention policy to be specified for write

According to the InfluxDB docs, when writing, the retention policy can
be specified with a URL parameter named `rp`:

https://docs.influxdata.com/influxdb/v1.2/guides/writing_data/#writing-data-using-the-http-api

I was thinking that perhaps the retention policy name could be specified
in the Series definition.  Then multiple points could be written, each
of which could have its own retention policy. In communicating with
Influx support, I heard back this:

"There is currently no way to specify the database or retention policy
directly in the point at this time. Although a per-point retention
policy option is already a proposed feature for the next version of the
line protocol format."

So, we can specify the retention policy name as an option to the `write`
function alongside other options like `precision`.

3 of 3 new or added lines in 2 files covered. (100.0%)

328 of 336 relevant lines covered (97.62%)

21.34 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
lib/instream/pool/spec.ex
3
100.0
lib/instream/connection/query_planner.ex
Jobs
ID Job ID Ran Files Coverage
1 348.1 (VER_GO=1.6.2 VER_INFLUXDB=v1.0.2) 08 Mar 2017 07:04PM UTC 0
97.62
Travis Job 348.1
Source Files on build 348
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #348
  • 9ce588aa on github
  • Prev Build on url-rp (#343)
  • Next Build on url-rp (#350)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc