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

Throughput calculation clarification #44

Closed
sravanthnag opened this issue Jun 1, 2022 · 7 comments
Closed

Throughput calculation clarification #44

sravanthnag opened this issue Jun 1, 2022 · 7 comments
Labels
question Further information is requested

Comments

@sravanthnag
Copy link

Hi,

In https://grafana.com/grafana/dashboards/13644, I see that throughput is calculated irrespective of transaction is pass or fail. There is no filter applied on a status column which Jmeter by default emits - ok and ko.

I have tried to change the query to plot throughput through successful results only but could not plot it effectively. Any pointers to include the ok filter in throughput graphs

@mderevyankoaqa
Copy link
Owner

Hi @sravanthnag ,

Good point, let's me plan this.

BR,
Mike

@mderevyankoaqa
Copy link
Owner

mderevyankoaqa commented Jun 2, 2022

@sravanthnag ,

So you want to have the possibility to see OK and KO requests on the throughput chart separately?

On the chart from the picture we are able to see all (OK and KO).
image

BR,
Mike

@mderevyankoaqa mderevyankoaqa added the question Further information is requested label Jun 3, 2022
@sravanthnag
Copy link
Author

Hi Mike,

Yes, the current throughput chart brings in all OK and KO transactions. But when I checked the database for a status column to filter out based on only OK, I could not get that. So, I thought I will ask the exact query which can filter out the only OK set of transactions.

@mderevyankoaqa
Copy link
Owner

mderevyankoaqa commented Jun 11, 2022

@sravanthnag we have the possibility to filter OK and KO using the code:

|> filter(fn: (r) => r["_field"] == "errorCount")
|> filter(fn: (r) => r["_value"] == 1)

The code above returns KO.

I will improve in the next release. We can have like this
|> filter(fn: (r) => r["result"] == "fail" ) OR |> filter(fn: (r) => r["result"] == "pass" )

BR,
Mike

@sravanthnag
Copy link
Author

Hi Mike,

I would wait for the changes to reflect. Thank you.

@mderevyankoaqa
Copy link
Owner

@sravanthnag added the latest release.

See full notes here - https://github.com/mderevyankoaqa/jmeter-influxdb2-listener-plugin/releases/tag/v2.3. The board was updated as well, the same location - https://grafana.com/grafana/dashboards/13644.

Please upgrade and share the results.

BR,
Mike

@sravanthnag
Copy link
Author

Hi Mike,

Thanks for the update. This works on expected lines for me.

There are some other minor clarifications/queries for which probably I will raise a new one.

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

No branches or pull requests

2 participants