Skip to content

Commit af84cd7

Browse files
authored
Update scheduled-views-best-practices.md
1 parent 893b56e commit af84cd7

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/manage/scheduled-views/scheduled-views-best-practices.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,8 @@ _view=nice_view_man | timeslice 1d | sum(_count) by _timeslice, status_code
222222

223223
## FAQ
224224

225-
### Upgrade your scheduled views to avoid negative count results
225+
### How to avoid negative count results?
226226

227-
The existing scheduled views will use the `Int` data type for the `count` operator, giving a negative count value after crossing the maximum integer value of `2147483647`. To resolve this, create a new scheduled view with the same starting date as the old scheduled view. These new scheduled views will utilize the `Long` data type for the `count` operator and will not provide negative values.
227+
Validate if you are using the scheduled views created before August 28th, 2024. The scheduled views created before this date will use the `Int` data type for the `count` operator, inturn resulting in a negative count value after crossing the maximum integer value of `2147483647`.
228+
229+
To resolve this, create a new scheduled view with the same starting date as the old scheduled view. These new scheduled views will utilize the `Long` data type for the `count` operator and will not provide negative values.

0 commit comments

Comments
 (0)