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

Mismatch between #tests showed in GUI and psconfig output in 5.1 #471

Closed
szymontrocha opened this issue May 7, 2024 · 2 comments
Closed
Assignees
Labels

Comments

@szymontrocha
Copy link

I noticed that the numbers shown in Toolkit gui under "Tests Configured by Type" is different from what psconfig says. Throughput test is counted less while I think both numbers should be equal.

In my test host:

CLI gives 10 tests:
$ psconfig pscheduler-tasks | jq 'map({dest: .test.spec.dest, type:.test.type})' [ { "dest": "psmall-poz1.man.poznan.pl", "type": "rtt" }, { "dest": "150.254.160.18", "type": "latencybg" }, { "dest": "psmall-poz1.man.poznan.pl", "type": "latencybg" }, { "dest": "150.254.160.18", "type": "throughput" }, { "dest": "psmall-poz1.man.poznan.pl", "type": "throughput" }, { "dest": "perfsonar.eenet.ee", "type": "trace" }, { "dest": "psmall-poz1.man.poznan.pl", "type": "trace" }, { "dest": "perfsonar.eenet.ee", "type": "rtt" }, { "dest": "150.254.160.18", "type": "latencybg" }, { "dest": "perfsonar.eenet.ee", "type": "latencybg" } ]

while GUI shows 9 tests (throughput is just 1)
obraz

@github-project-automation github-project-automation bot moved this to Ready in perfSONAR May 7, 2024
@arlake228 arlake228 self-assigned this May 8, 2024
arlake228 added a commit to perfsonar/grafana that referenced this issue May 14, 2024
@arlake228
Copy link
Contributor

I think this is maybe just a wording issue that is causing confusion. The counts on the dashboard come from the results in Opensearch for the timeframe selected in grafana. The numbers are correct in that respect, but looks like one of the throughput tests didn't have a result in that time window, so there is one less result. The heading says "Tests Configured" though and as you point out there is another throughput test "configured" even if it does not have a result.

I have changed the heading to be "Test Results by Type" which more accurately conveys what that table is showing.

@arlake228 arlake228 moved this from Ready to In Review in perfSONAR May 14, 2024
@szymontrocha
Copy link
Author

This is fine for me

@github-project-automation github-project-automation bot moved this from In Review to Done in perfSONAR May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

No branches or pull requests

2 participants