New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] Programmatically Add new data source to existed database #108
Comments
It's not going to be easy. The one disk format is using one row of all values for each time stamp. So it's not possible to add a column of datasource without rewriting the whole file. I have code that does a check at startup of the application and migrate to a new rrdb file when needed. |
I've tried a solution offered by popozhu on Stack-overflow, but it seems that rrdtool DOESN'T work with rrd file created by rrd4j, what else can I do? |
My business scenario is as follows: I have several nodes which offer many web API services, all requests are tracked per API, later these request count and outcome(success or failed) are sent in batch to a central handler where all rrd updates are processed here via kafka. All these APIs have a unique path which are used as data source name, it's likely we will add a new API later, and I need a way to migrate it to existed RRD database without shutdown the central handler. |
one rrd per api ? |
@fbacchella nope. it's one datasource per api, one rrd per node, like the following:
every RRD definitions are like:
the problem I have is I am not able to add new data source to existed rrd database (as new APIs are added). nodes are served as load balance. |
Hey, @fbacchella can you help to solve the issue? I really add new data source to existed RRD db. |
Hey guys, I want to add new data source as application is running, is that anyone interested in implementing this?
The text was updated successfully, but these errors were encountered: