Skip to content

Commit

Permalink
includes missing data with preview
Browse files Browse the repository at this point in the history
  • Loading branch information
ecezalp committed Nov 19, 2021
1 parent 8e8b623 commit 11406ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export const PreviewQuery = ({
startDate: toTime,
filterQuery: queryFilter,
indexNames: index,
includeMissingData: false,
includeMissingData: true,
histogramType: MatrixHistogramType.events,
stackByField: 'event.category',
threshold: ruleType === 'threshold' ? threshold : undefined,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ export const usePreviewHistogram = ({
errorMessage: QUERY_PREVIEW_ERROR,
filterQuery,
histogramType: MatrixHistogramType.preview,
includeMissingData: true,
indexNames: [`${DEFAULT_PREVIEW_INDEX}-${spaceId}`],
stackByField: 'event.category',
startDate,
Expand Down

0 comments on commit 11406ad

Please sign in to comment.