Answer the question
In order to leave comments, you need to log in
A universal system for collecting statistics on application performance in realtime?
The task is this: there is an application that calculates and renders something, the algorithms in it are very shamanic, some actions can be done in different ways and there is some kind of heuristic that chooses a method, in general, you need to debug and optimize the whole thing. For optimization, you need to look at a bunch of parameters such as the time to calculate this, the time to calculate that, the amount of this, etc., etc.
I would like: to be able to display all sorts of numbers like the calculation time, some parameters, events, etc., and see them separately in the form of beautiful graphs. Those. something like an advanced debug console that can display information in a human-readable way.
The main thing is that everything should be fast enough, since all this is real time. Those. it should hang somewhere as a separate process, or maybe even on a neighboring computer.
And it is desirable that it be simple, i.e. in the code, I just write one line, where I throw a number into the stream, and then I can already see graphs with numbers from different streams in a separate application, combine them, and so on and so forth.
The target axis is Windows, the code is pros, the price is free or cheap and very angry.
Question: is there something standard that will allow me to output data from the program and display it beautifully with one line of code?
Another request from the dream series: I want this thing to look for correlations between various parameters and tell me about them.
And then I'm already going to write this thing, but I don't want to reinvent the wheel.
I found some mention of GNU Nana, but it looks like it was a long time ago and not true, and not quite right.
Thank you very much in advance!
Answer the question
In order to leave comments, you need to log in
And what technology?
If java, look at perf4j.codehaus.org/devguide.html
Graphite for collecting data and rendering graphs, you can load points in one line, you just need to send a line like this along the grid:
In the same way, you can load data about system resources - I don’t remember how this is done under Windows, but it seems like you can get metrics in text form and then send them to graphite.
I'm not sure that you will be able to run graphite under Windows, but you still wanted it on a neighboring computer +) Although someone did it here .
Correlations - you can unload data from graphite into some script and analyze it there.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question