Skip to content
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

Question: Which configuration to use in order to log/view TPS #96

Open
juanma31x opened this issue Jan 26, 2021 · 3 comments
Open

Question: Which configuration to use in order to log/view TPS #96

juanma31x opened this issue Jan 26, 2021 · 3 comments

Comments

@juanma31x
Copy link

Hello, which configuration should be used in order to log TPS? Thanks :)

@johrstrom
Copy link
Owner

I think you want to see #83 and specifically this comment. So you're probably going to call rate() on a _total metric (probably a ResponseTime metric).

#83 (comment)

@juanma31x
Copy link
Author

Thanks, @johrstrom so should I do that in some kind of script inside jmeter? or using the Prometheus listener or metrics? If you can give some guidance I will really apreciate it since I´m new in all of this. Thanks :).

@johrstrom
Copy link
Owner

Oh i see. So you'll make a ResponseTime metic, let's say a histogram called demo_histogram. Now in Prometheus, you'll start to see a metric called demo_histogram_total. Do a rate(demo_histogram_total)[5m] and you'll get the rate of total transactions. Or rate(demo_histogram_total{label="the sampler I'm looking for"})[5m] for TPS for a given sampler.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants