Query customization
By default, Nobl9 queries a data source every minute for the last-minute data.
However, data sources can have limitations related to the consistency of the data, rate, and resource constraints on the platform, or network overhead.
For smooth operations and consistent data flow to Nobl9, you can configure querying behavior with the following parameters:
- Query interval
- Query delay
- Jitter
- Timeout

This article explains how they work and impact other Nobl9 features. Also, it highlights their interconnection and dependencies for correct configuration to avoid multiple queries running simultaneously and unexpected effects.
Currently, only query delay configuration is available on the Nobl9 Web, sloctl
, and Terraform.
To modify the rest of the parameters, contact Nobl9 support
Query intervalβ
The query interval sets how often Nobl9 queries a data source. It also outlines the period of data retrieval.
Suppose it's 15:00 now.
The query interval = 2min
.
Nobl9 sends a query every 2 minutes for the data collected by the data source over the latest 2-minute interval.
Query sending time | Data retrieval period |
---|---|
15:00 | 14:58-15:00 |
15:02 | 15:00-15:02 |
15:04 | 15:02-15:04 |
β To retrieve fresh data, set a smaller query interval value.
For example, when you need to get alerts as soon as possible.
However, you can hit the data source's rate limits.
β To reduce the number of requests keeping the same data retrieval period,
increase the query interval.
For example, with a 1-minute query interval, Nobl9 sends five queries to retrieve data for the 5 minutes. The same data is retrieved with one query when the interval is 5 minutes.
The higher the value, the more outdated data is retrieved.
Interaction with other parametersβ
- Jitter must be less or equal to the query interval
Otherwise it can cause data to come in out-of-order, which can lead to data being rejected. - Timeout must be less or equal to the query interval
Timeout longer than the query interval can cause multiple simultaneous queries and unexpected effects.
Impact on Nobl9 featuresβ
- Alerting: high values can delay important alerts
For example, the query interval = 30 minutes, and the query delay is 0. The incident occurred 20 minutes ago, and Nobl9 sent the last query 25 minutes ago. The agent will query this period data within the next 5 minutes. So, there will be at least a 25-minute lag in the notification. - Service Health dashboards: can cause services falling into the No data category
With the query interval value greater than or equal to the dashboard's time window, Nobl9 lacks time to accumulate data for categorization.
Nobl9 doesn't send alerts on incidents that took place 1 hour ago or later.
Query delayβ
Query delay is the amount of time that Nobl9 waits before sending a query. The delay is counted from the time set by the query interval. Although the query delay postpones sending a query, it doesn't affect the data retrieval period. Regardless of the query delay value, Nobl9 will always query for data as it is set by the query interval.
Shortly, the query delay helps solve issues with inconsistent or unavailable in the data source data.
Suppose it's 15:00 now.
The query interval = 2min
.
Query sent at, query delay = 0 min | Query sent at, query delay = 1 min | Data retrieval period |
---|---|---|
15:00 | 15:01 | 14:58-15:00 |
15:02 | 15:03 | 15:00-15:02 |
15:04 | 15:05 | 15:02-15:04 |
15:06 | 15:07 | 15:04-15:06 |
The above example shows that the data retrieval period is the same, regardless of whether the query is sent with a delay or without it.
It illustrates the way to let the data source time for proper indexing data across all its partitions.
This guarantees the data retrieved is fresh and consistent.
The particular value of the query delay required to ensure data consistency depends on the data source.
Read more about data consistency models.
β To obtain insights and alerts faster, reduce the query delay.
β To ensure the data retrieved is already aggregated and consolidated, increase the query delay.
When there's a discrepancy in the data between a data source and Nobl9, querying for the last minute can yield different results with each query compared to querying for the same period 10 minutes later.
Impact on Nobl9 featuresβ
- Replay: can affect results
For instance, if the query delay is set to 15 minutes or more, and the Replay time window is narrow (less than 3 hours, depending on the data source), Replay can import data faster than the query delay duration, overwriting a small portion of already collected data. It can cause inconsistencies and short periods of incorrect results. - Alerting: can delay important alerts
For example, the query interval is set to 1 minute and the query delay is 10 minutes. An incident occurred 10 minutes ago, and the last query was 1 minute ago. It can result in 10-11 minute lag in the notificationβonce the agent requests the relevant time range. - Service Health dashboards: can cause services falling into the No data category
With the query delay value greater than or equal to the dashboard's time window, Nobl9 lacks time to accumulate data for categorization.
Read more about query delay.
Jitterβ
Jitter refers to an interval when randomized data source querying is allowed.
The agent starts counting the jitter immediately after the query interval or query delay (if any) and then sends the query randomly within the defined range.
Suppose it's 15:00.
The query interval = 2 min
.
Jitter value | Query sending time | Data retrieval period |
---|---|---|
0 | 15:00 | 14:58-15:00 |
30 sec | At a random point between 15:00:00 and 15:00:30 | 14:58-15:00 |