Skip to content

Conversation

@synqotik
Copy link
Contributor

When performing a Performance Datasource attribute query, the Node dropdown has a limit of 1000 items in the response.

If there are thousands of nodes, the user won't ever see all of them in the dropdown and will not be able to select it.

This PR does 2 things.

  • When configuring the Performance Datasource, there's a new option, "Override attribute query node limit". The default limit of nodes searched is 1000, but you can change it to another value, or set it to unlimited. Note, there may be a performance issue in this case and the UI may not really be able to handle over 1000 entries.

  • You can enter a query term in the Node dropdown and a case-sensitive "LIKE" query will be made; this is basically an autocomplete style feature, which searches any part of a node label. Note, there's a basic issue we have with all FIQL queries that they are case-sensitive.

External References

@sonarqubecloud
Copy link

Copy link
Collaborator

@Shahbaz-dataq Shahbaz-dataq left a comment

Choose a reason for hiding this comment

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

LGTM!

@sbernabe1
Copy link
Contributor

LGTM!

Copy link
Collaborator

@sbernabeOpenNMS sbernabeOpenNMS left a comment

Choose a reason for hiding this comment

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

LGTM!

@marshallmassengill marshallmassengill self-requested a review October 16, 2025 18:48
Copy link
Contributor

@marshallmassengill marshallmassengill left a comment

Choose a reason for hiding this comment

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

I poked at the code. It looks reasonable to me. I am all for getting this out there.

@synqotik synqotik merged commit 8259c4a into release-9.x Oct 16, 2025
11 of 12 checks passed
@synqotik synqotik deleted the jira/OPG-497-node-limit branch October 16, 2025 19:04
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.

5 participants