Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Influxcli precision hardcoded to n #6676

Closed
kostasb opened this issue May 19, 2016 · 0 comments
Closed

Influxcli precision hardcoded to n #6676

kostasb opened this issue May 19, 2016 · 0 comments
Assignees
Milestone

Comments

@kostasb
Copy link

kostasb commented May 19, 2016

Looks like InfluxCLI always sends the parameter 'precision' set to 'n'.

In the following example "seconds" precision is specified but the parameter sent to InfluxDB is still "n"

Connected to http://localhost:8086 version 0.14.0~n201605190800
InfluxDB shell version: 0.14.0~n201605190800
> create database test
> use test
Using database test
> precision s
> insert a,tag="2049" value=2049 2524607999

Logs:
[httpd] 2016/05/19 15:59:33 127.0.0.1 - - [19/May/2016:15:59:33 +0000] POST /write?consistency=any&db=test&precision=n&rp= HTTP/1.1 204 0 - InfluxDBShell/0.14.0~n201605190800 ad81dadf-1dda-11e6-8053-000000000000 40.686496ms

https://github.com/influxdata/influxdb/blob/master/cmd/influx/cli/cli.go#L512

@e-dard @corylanou

@e-dard e-dard added this to the 1.0.0 milestone May 19, 2016
@timhallinflux timhallinflux modified the milestones: 1.0.0, 1.0.0 beta Dec 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants