Вопрос

Does Graphite have a way to visualize correlation between two time series?

I would want somehting like this:

time series correlation

In this SlideShare presentation there's a mention of a correlate data transform function (slide 11) however I can't find documentation about it.

Это было полезно?

Решение 2

To answer my own question: it is not possible and would not fit Graphite's vision.

From their GitHub issue tracker:

If the X axis isn't time then it isn't a time series... Graphite is a graphing tool for time series data.

Другие советы

The trick to displaying events in Graphite is to apply the drawAsInfinite() function on the red metric. This displays events as a vertical line at the time of the event.

Update-

Perhaps you mean timeShift().

"..what if we want to directly correlate the activity between now and the same time two weeks ago? This is where the timeShift() function comes in. Let's take a look at the same 4-week period, but this time we'll review two weeks of current data and overlay it with a time-shifted span of the two weeks prior."

Source.

Divide one by the other. The straighter that line is, the more related they are. If that correlation is linear of course. Could be logarithmic or anything. But in these cases, your two axis example wouldn’t work either.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top