Graphing data from multiple sites

Asked by Pete Kelly

Hi

I use rrdtool at the moment to graph data (requests per minute) collected in datacenter X. I now have a new datacenter Y connected to datacenter X by VPN. The new datacenter collects the same data as in datacenter X, and stores it locally.

The problem I need to solve now is being able to graph the total requests per minute across both datacenters.

Whilst looking for a solution for "remotely querying rrd data" I've come across graphite but it's not obvious as to whether it will allow the data sources in X and Y to be queried and aggregated into a single graph.

My question is, will it?? If it does it's worth my time investigating using it as a replacement for rrd and rrdtool as I can only see the need for this type of aggregation increasing in the future.

Question information

Language:
English Edit question
Status:
Answered
For:
Graphite Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Michael Leinartas (mleinartas) said :
#1

For the same metric, no not at the moment (though support for this is planned). If multiple Graphite stores are queried, the Graphite webapp will use data from the first it hears back from. This is true for single metrics, though more likely you'll have separate metrics keyed to each datacenter and that will work as expected.

So if you have being recorded:
Datacenter A: webserver.total.requests
Datacenter B: webserver.total.requests

That wont work as the graph will always be missing one of those identical metrics
however, if you have
Datacenter A: webserver.datacenter_a.total.requests
Datacenter b: webserver.datacenter_b.total.requests

This will be fine - both metrics can be served in a single graph and can be combined (using, say, sumSeries()).

Note that the documentation is very lacking in setups like this so be prepared to spend a decent amount of effort getting this up and running

Can you help with this problem?

Provide an answer of your own, or ask Pete Kelly for more information if necessary.

To post a message you must log in.