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

scylla-overview: Add SCT test support #2406

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

k0machi
Copy link

@k0machi k0machi commented Oct 7, 2024

This commit adds SCT metrics onto the Overview dashboard, migrating them
from the old dump stored in the SCT repo and instead putting them into
the template with optional "sct_tests" dashproduct flag, allowing them
to be conditionally added to the dashboard.

Task: https://github.com/scylladb/qa-tasks/issues/1444
Closes #2419

@k0machi k0machi force-pushed the add-sct-metrics branch 4 times, most recently from 6a21130 to c00b166 Compare October 7, 2024 12:19
@amnonh
Copy link
Collaborator

amnonh commented Oct 13, 2024

Putting the entire JSON dump inside a template file defeats the purpose of a template file.
Do you want it as a separate dashboard? or do you want it to override the overview dashboard?

amnonh and others added 2 commits December 2, 2024 11:38
This is a work in progress to place sct related panels inside the
overview dashboard.

This is an example of how to generate the dashboard for 6.1 release:

./generate-dashboards.sh -F -v 6.1 -P "sct-tests"

Signed-off-by: Amnon Heiman <[email protected]>
This commit adds SCT metrics onto the Overview dashboard, migrating them
from the old dump stored in the SCT repo and instead putting them into
the template with optional "sct_tests" dashproduct flag, allowing them
to be conditionally added to the dashboard.

Task: scylladb/qa-tasks#1444
@k0machi k0machi self-assigned this Dec 2, 2024
@k0machi k0machi requested review from amnonh and fruch December 2, 2024 13:43
@k0machi k0machi marked this pull request as ready for review December 2, 2024 13:43
@k0machi
Copy link
Author

k0machi commented Dec 2, 2024

Still somewhat of a WIP but metrics have been ported:
image

@k0machi k0machi changed the title wip: move sct metrics to monitoring stack scylla-overview: Add SCT test support Dec 2, 2024
Removed duplicate metrics available on other dashboards and also
adjusted the layout and some of the panels unit/type configuration
"title": "Requests Served per [[by]]",
"type": "timeseries"
},
{
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I prefer to move this part to types.json i.e. create a new class for annotation list

"interval": "15s",
"intervalFactor": 1,
"legendFormat": "YCSB READ [{{instance}}]",
"refId": "G"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why the frefid not starting from A?

@amnonh
Copy link
Collaborator

amnonh commented Dec 10, 2024

The PR includes formatting over the entire document. It first combines tabs and spaces, and even without them, you should do it in a different patch.

Besides the specific type that will be best put in types.json, as it's a lot of rows that are only relevant to QA, you can define the the few rows inside types.json so the amount of unrelated code inside the overview file will be limited (look at small_stats_row for a reference)

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

Successfully merging this pull request may close these issues.

2 participants