Comments (7)
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.
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.
Just dividing one metric by another is 85% of what I would need.
from opentsdb.
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.
Was there any progress on this issue? Operations on metrics are a really useful thing to have
from opentsdb.
+1
from opentsdb.
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)
- Solving security vulnerabilities in the dependencies of opentsdb HOT 5
- Custom Retention of metrics HOT 5
- What's a way to obtain the TSUIDs in the database using the OTSBD API? HOT 1
- Feature: Jupysql integration
- Security Contact HOT 2
- Caused by: org.hbase.async.NonRecoverableException: Too many attempts HOT 2
- Where to disclose vulnerabilities HOT 3
- make check failed when opentsdb 2.4.1 test on suse15_aarch64 HOT 1
- Load uid very slowly HOT 2
- NPE on GraphHandler.java when `o` isn't specified as part of the query parameters
- ERROR [ConnectionManager.exceptionCaught] - Unexpected exception from downstream for [] java.lang.OutOfMemoryError: GC overhead limit exceeded
- how to build and run opentsdb
- 3.0 version java.lang.NoClassDefFoundError: com/google/protobuf/AbstractParser when starting tsd
- CVE-2023-25826 HOT 1
- Solving security vulnerabilities in the dependencies of opentsdb
- OpenTSDB - Unable to parse value to a number
- javax.management.loading.MLet deprecated for removal from the JDK
- Skipping exceptions in RegionClient.exceptionCaught HOT 1
- Default GUI username and password? HOT 1
- Replace AsyncHBaseClient with HBase 2 client libraries HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opentsdb.