MikaelGRA / InfluxDB.Client

InfluxDB Client for .NET
MIT License
102 stars 22 forks source link

Specify Retention policy while reading #34

Closed ponsakthi closed 6 years ago

ponsakthi commented 6 years ago

I don't see a way to specify a retention policy is ReadAsync method.

Does that mean that ReadAsync only reads from default RP?

MikaelGRA commented 6 years ago

I am not sure I understand.

You should only specify a retention policy when you write data, not when you read it.

https://docs.influxdata.com/influxdb/v1.5/tools/api