Skip to content

QueryColumnsProvider: Fully use up limit with custom variables#1377

Merged
nilmerg merged 1 commit into
mainfrom
fix/query-columns-provider-does-not-show-variables-up-to-the-limit
May 27, 2026
Merged

QueryColumnsProvider: Fully use up limit with custom variables#1377
nilmerg merged 1 commit into
mainfrom
fix/query-columns-provider-does-not-show-variables-up-to-the-limit

Conversation

@nilmerg
Copy link
Copy Markdown
Member

@nilmerg nilmerg commented May 21, 2026

Previously custom variables that didn't match any of the desired sources were eating up the query's limit and so there is a chance that not even a single variable was listed. This especially occurs with the updated notifications integration, as the available database columns are very limited in number. But even in other views this may have been noticed by users in case they have many variables that are similarly named but have no overlap with database columns. (i.e. input that doesn't match any database columns but many vars)

@nilmerg nilmerg self-assigned this May 21, 2026
@cla-bot cla-bot Bot added the cla/signed CLA is signed by all contributors of a PR label May 21, 2026
@sukhwinder33445 sukhwinder33445 force-pushed the update-notifications-hook branch from fbe92e8 to 4cc6a93 Compare May 22, 2026 14:12
Base automatically changed from update-notifications-hook to main May 22, 2026 14:17
Previously custom variables that didn't match any of the desired
sources were eating up the query's limit and so there is a chance
that not even a single variable was listed. This especially
occurs with the updated notifications integration, as the available
database columns are very limited in number. But even in other views
this may have been noticed by users in case they have many variables
that are similarly named but have no overlap with database columns.
(i.e. input that doesn't match any database columns but many vars)
@nilmerg nilmerg force-pushed the fix/query-columns-provider-does-not-show-variables-up-to-the-limit branch from c890693 to 5ea0724 Compare May 22, 2026 14:21
@nilmerg nilmerg requested a review from sukhwinder33445 May 22, 2026 14:21
@nilmerg
Copy link
Copy Markdown
Member Author

nilmerg commented May 22, 2026

Tested myself with MySQL and PostgreSQL.

@nilmerg nilmerg moved this from Todo to In progress in Icinga Notifications 1.0 May 22, 2026
@nilmerg nilmerg added this to the 1.5.0 milestone May 22, 2026
Copy link
Copy Markdown
Contributor

@sukhwinder33445 sukhwinder33445 left a comment

Choose a reason for hiding this comment

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

Works fine, tested on MySQL and PostgreSQL.

@nilmerg nilmerg merged commit f38a03d into main May 27, 2026
13 checks passed
@nilmerg nilmerg deleted the fix/query-columns-provider-does-not-show-variables-up-to-the-limit branch May 27, 2026 14:52
@github-project-automation github-project-automation Bot moved this from In progress to Done in Icinga Notifications 1.0 May 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla/signed CLA is signed by all contributors of a PR

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants