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
Listener to add/remove Accumulators #130
Comments
Hi Marlon,
The values in the accumulator will be:
So now the question: What values does the SessionCountCur-5m contain? |
Hi, Leon. Next, I'm going to use Moskito as well to help me measure the size of my environment. For example, how much do I need memory (OS, heap, non-heap), how many users should I support on average? What is my peak of users? Etc. etc. So I've been trying to generate Min, Max, and Avg values for most metrics. The first way to do this is to create your own Producer and include the missing values, which becomes more laborious. But if we look closely, the Accumulators have everything we need to generate this information: min, max, avg. They have a list of values of a given Producer / Value, at a given time. So, taking your example, I would actually like through Accumalor to get the following values: That way, I would not have to create a new Producer just to extract this data. Well then at that point if I had some way to intercept the creation / removal of Accumulators I could create a Producer to generate those statistics using Accumulators values. And maybe, sometime in the future, this option could be out of the box in the Moskito. Did you understand better? Does it make any sense to you? |
@marlonpatrick10 Did I get it right that in general, you want to see the result(s) of some function(s) applied to the values on the timeline of a certain Accumulator? |
Sorry for the delay @Bezuhlyi, yes it would be something in that line of thought. Or you could add this simple information to the Accumulators screen. Currently we have Name, Path, Values (quantity of values) and Last Timestamp. It could be added for quick viewing fields like: Min / Max / Avg: lowest / highest / average value from current values Aboslute Min / Max / Avg: lowest / highest / average value among all values including values already discarded In my case, in possession of this information, I would use such values (Min / Max / Avg) to help me measure the amount of resources needed for my environment. The best thing is that I could have this set of values for any existing metrics, just create an accumulator that meets my needs. Today if I need to know how to get Min / Max / Avg for most statistics I will need to write a Producer that contains such data. |
Is there any listener for add / remove Accumulators currently?
I am wanting to create Producers based on Accumulators. The idea is to generate Min, Max, Avg values for a given Accumulator. For this, I would need to read all the values within an Accumulator and generate such information.
In fact, I think this would be an excellent built-in feature for the Moskito. Something like:
Obviously, this could and should be done directly in Producer, however, it is not always simple because you would have to rewrite the code.
Generating from an Accumulator, it would be possible to measure this data for any Stats without needing to rewrite code. In addition, it would be possible to do this within a range determined by the user (accumulationAmount).
The text was updated successfully, but these errors were encountered: