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

mneudert / instream / 348 / 1
99%
master: 99%

Build:
Build:
LAST BUILD BRANCH: test
DEFAULT BRANCH: master
Ran 08 Mar 2017 07:04PM UTC
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

08 Mar 2017 07:02PM UTC coverage: 97.619% (+0.02%) from 97.598%
VER_GO=1.6.2 VER_INFLUXDB=v1.0.2

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`.

328 of 336 relevant lines covered (97.62%)

21.34 hits per line

Source Files on job 348.1 (VER_GO=1.6.2 VER_INFLUXDB=v1.0.2)
  • Tree
  • List 0
  • Changed 15
  • Source Changed 2
  • Coverage Changed 15
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 348
  • Travis Job 348.1
  • 9ce588aa on github
  • Prev Job for VER_GO=1.6.2 VER_INFLUXDB=v1.0.2 on url-rp (#343.1)
  • Next Job for VER_GO=1.6.2 VER_INFLUXDB=v1.0.2 on url-rp (#350.1)
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