Giter Site home page Giter Site logo

Graphing functions about opentsdb HOT 7 CLOSED

opentsdb avatar opentsdb commented on July 22, 2024
Graphing functions

from opentsdb.

Comments (7)

tsuna avatar tsuna commented on July 22, 2024

You can plot a time series against another. What you're describing I guess is doing arithmetic operations between time series (e.g. divide number of requests by number of errors to get the error rate).

This is a feature I really wanna have but is probably kinda tricky to implement, so is going to be deferred for now.

from opentsdb.

fastolfe avatar fastolfe commented on July 22, 2024

It seems like you could implement this by creating an expression language, with expressions exposed as a DataPoints object. Support regular binary arithmetic operations between timeseries and timeseries, or timeseries and constants. It would be useful also to be able to compute derivatives of a timeseries (is query latency trending upward right now?) in a similar fashion. It should be flexible enough to allow me to take historical averages of a timeseries, and compute the deviation from that average as its own timeseries.

Take a look at http://r-project.org/, which is a statistical analysis language and implementation. It seems to have a decent support for performing operations on timeseries data. It would be nice to re-use an existing language/platform for this.

It might also be nice to be able to compute the results of an expression like this and write data points back to the TSD, or evaluate these expressions from the command line so we can generate alerting based on ratios and the like.

from opentsdb.

acirillo avatar acirillo commented on July 22, 2024

Just dividing one metric by another is 85% of what I would need.

from opentsdb.

chuyskywalker avatar chuyskywalker commented on July 22, 2024

I'd like to resurrect this issue. Our statsd/graphite/carbon graphing system is coming to a vertical scaling ceiling and OpenTSDB looks like it blows right past such issues -- but I'm desperately missing the expressiveness of creating composite on-the-fly graphs like I can in graphite. Their function list is quite extensive and really lets you massage the data into making sense.

from opentsdb.

vitorboschi avatar vitorboschi commented on July 22, 2024

Was there any progress on this issue? Operations on metrics are a really useful thing to have

from opentsdb.

jongwook avatar jongwook commented on July 22, 2024

+1

from opentsdb.

johann8384 avatar johann8384 commented on July 22, 2024

These are now added to OpenTSDB in the 2.3 branch. http://opentsdb.net/docs/build/html/api_http/query/gexp.html

from opentsdb.

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.