Query Checker Beta
The Query checker feature allows Nobl9 users to validate whether their newly created SLOs will work correctly. If an SLO passes validation, it will instantaneously start collecting SLI data. If it doesn't, the Query checker notifies you with an error modal, allowing you to fix issues with connection or query, and get your SLOs going.
Prerequisites
The Query checker feature is currently in beta and works only via the beta release channel for the Direct connection method with the following data sources:
Contact Nobl9 Support to activate this feature.
Assumptions and Limitations
Assumptions for Verifying Connection
Nobl9 tests the connection by calling the data source's API and verifying the connection status, usually through the HTTP response codes received from the data sources.
Limitations of Verifying Query
This feature aims to verify the data source's response rather than validate the underlying syntax of the query. Nobl9 tests the query by calling the underlying data source API and verifying the result.
There are two possible outcomes of the verification:
A query is marked as valid, meaning the request has succeeded.
cautionThe query will be marked as valid even when the response is empty.
A query is marked as invalid - meaning that the data source's connection can't be established or the call to API results in error (usually with the HTTP status code different than
200
).
When Does the Verification Occur?
Nobl9 triggers the Verifying connection and query
process in the following three instances:
- When you add a new SLO with a new query.
- When you update the query in an existing SLO.
Query update creates a new indicator entry in our database, which triggers the validation process. - When you update the data source’s Direct connection credentials.
Only queries (indicators) marked as invalid will be re-validated.
User Experience
Depending on the selected metric type, there are slight differences in how the Query checker works.
After you create an SLO with a Threshold metric, Nobl9 will automatically begin the check process. For both, Threshold and Ratio metrics, you'll see the following statuses in the SLO details view:
And, in the grid view:
Threshold metrics
Successful Check
Once the checks are successful, Nobl9 will automatically proceed to the importing data
and calculating
statuses in the SLO details:

Unsuccessful Check
When the verification returns an unsuccessful result for your Threshold metric SLO, Nobl9 will display the following errors in the SLO details tab:
When you click the View error log link, Nobl9 will display a modal containing the query and error message returned by the data source:
Expand this section to see the next steps.
Now, you can fix your SLO by:
Ratio Metrics
Successful Check
Once the checks are successful, Nobl9 will automatically proceed to the importing data
and calculating
statuses in the SLO details:

Unsuccessful Check
For the Ratio metrics SLOs, there are four possible scenarios in which Nobl9 may return:
- Errors for both, Good and Total queries.
- An error for the Good query only.
- An error for the Total query only.
- An error for one broken objective.
Errors for Good and Total Queries
When the verification returns an unsuccessful result for both, Good and Total queries:
When you click the Good query or the Total query link, Nobl9 will display a modal containing the query and error message returned by the data source:
Expand this section to see the next steps.
Now, you can fix your SLO by:
Errors for the Good Query Only
When the verification returns an unsuccessful result for the Good query only:
When you click the Good query, Nobl9 will display a modal containing the query and error message returned by the data source:
Expand this section to see the next steps.
Now, you can fix your SLO by:
Errors for the Total Query Only
When the verification returns an unsuccessful result for the Total query only:
When you click the Total query, Nobl9 will display a modal containing the query and error message returned by the data source:
Expand this section to see the next steps.
Now, you can fix your SLO by:
Errors for One Broken SLO Objective
When the verification returns an unsuccessful result for one SLO objective:
When you click the Good query or the Total query link, Nobl9 will display a modal containing the query and error message returned by the data source:
Expand this section to see the next steps.
Now, you can fix your SLO by: