Giter Club home page Giter Club logo

erlang-influxdb's People

Contributors

asabil avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

erlang-influxdb's Issues

influxdb_http:series/1 not handling partial replies from database

From InfluxDb FAQ:
https://docs.influxdata.com/influxdb/v1.7/troubleshooting/frequently-asked-questions/#why-do-my-queries-return-no-data-or-partial-data

The most common reasons why your query returns no data or partial data:

  • Querying the wrong retention policy (no data returned)
  • No field key in the SELECT clause (no data returned)
  • SELECT query includes GROUP BY time() (partial data before now() returned)
  • Tag and field key with the same name

It is not uncommon to query data series that triggers this partial response. When InfluxDb returns partial response, an example from our application receives this error:

InfluxDB Info({'EXIT',<0.8978.1>,
                  {function_clause,
                      [{influxdb_http,'-series/1-fun-2-',
                           [<<"partial">>,true,
                            #{columns => [<<"time">>,<<"coord">>,<<"asset">>],
                              name => <<"scan">>}],
                           [{file,"src/influxdb_http.erl"},{line,65}]},
                       {lists,foldl,3,[{file,"lists.erl"},{line,1263}]},
                       {influxdb_http,'-series/1-lc$^0/1-0-',1,
                           [{file,"src/influxdb_http.erl"},{line,65}]},
                       {influxdb_http,'-results/1-lc$^0/1-0-',1,
                           [{file,"src/influxdb_http.erl"},{line,61}]},
                       {influxdb_http,response,3,
                           [{file,"src/influxdb_http.erl"},{line,43}]},

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.