Coder Social home page Coder Social logo

Comments (2)

cgreenhalgh avatar cgreenhalgh commented on August 11, 2024

There are use cases for both timeseries of primitive values which can be further optimised (e.g. from sensors) but also for timeseries of complex values (e.g. tweets, messages) which could not be optimised in the same way. See also me-box/databox#194 .

So either there are two slightly different timeseries APIs or more than one store type or some one-time per-datasource initialisation of the store. I guess two slightly different APIs might be better/safer.

from zestdb.

Toshbrown avatar Toshbrown commented on August 11, 2024

KV supports three types of data TEXT, JSON and BINARY

The time series endpoint only supports JSON.

My suggestion is to add a NUMERICAL data type to the time series endpoint. This would then allow for the use of numerical only endpoints for example /ts/[dsid]/mean and /ts/[dsid]/min/[from]/[to].

The exact aggregation operations supported would need to be specified.

Some examples of the types of aggregations that are used with time series data can be found here https://docs.influxdata.com/influxdb/v0.8/api/aggregate_functions/ (this is old but it's a nice list )

from zestdb.

Related Issues (20)

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.