Skip to content

Commit b0092b9

Browse files
committed
indexed fields mention
1 parent 0d87c4b commit b0092b9

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

web/src/components/messages/loki-error.tsx

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,17 @@ export const LokiError: React.FC<Props> = ({ title, error }) => {
132132
</>
133133
)}
134134
{(error.includes('deadline exceeded') || error.includes('maximum of series')) && (
135-
<Text component={TextVariants.blockquote}>
136-
{t('Add some filters like Namespace or Name to reduce the number of results')}
137-
</Text>
135+
<>
136+
<Text component={TextVariants.blockquote}>
137+
{t(
138+
// eslint-disable-next-line max-len
139+
'Add Namespace, Owner or Resource filters (which use indexed fields) to improve the query performance'
140+
)}
141+
</Text>
142+
<Text component={TextVariants.blockquote}>
143+
{t('Reduce limit and time range to decrease the number of results')}
144+
</Text>
145+
</>
138146
)}
139147
{(error.includes('time range exceeds') || error.includes('maximum resolution')) && (
140148
<>

0 commit comments

Comments
 (0)