Skip to content

Conversation

zhiwzhao
Copy link

1.support influxdb v0.11 and v0.12 with line protocal
2.add RP in config

1.support influxdb v0.11 and v0.12 with line protocal
2.add RP in config
hostname: self.host,
port: self.port,
//path: '/write?' + querystring.stringify(query),//TODO:/write?db=dbname
path: '/write?db=' + self.database+'&rp='+self.retentionPolicy,//TODO:/write?db=dbname

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will throw a 401 when using HTTP authentication since we're not passing the username and password from query

Copy link
Author

@zhiwzhao zhiwzhao May 24, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Successfully merging this pull request may close these issues.

2 participants