You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NETOBSERV-1649: Improve UX and cases managed with prometheus (#549)
* NETOBSERV-1649: Improve UX and cases managed with prometheus
- Automatically switch to PktDropBytes/Packets metrics when there's a
drop cause/state filter
- Make topology queries less strict on fetching drops for decoration: an error will not break the whole thing anymore
- Display warning when that happens
- small refactoring related to warning message and details
* Fix error reporting on missing labels
* fix lint
Copy file name to clipboardExpand all lines: web/locales/en/plugin__netobserv-plugin.json
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -168,8 +168,8 @@
168
168
"Configuration limits": "Configuration limits",
169
169
"Metrics": "Metrics",
170
170
"You may consider the following changes to avoid this error:": "You may consider the following changes to avoid this error:",
171
-
"Add missing metrics to prometheus using FlowMetric API": "Add missing metrics to prometheus using FlowMetric API",
172
-
"Enable Loki in FlowCollector API": "Enable Loki in FlowCollector API",
171
+
"Add missing metrics to prometheus in the FlowCollector API (processor.metrics.includeList)": "Add missing metrics to prometheus in the FlowCollector API (processor.metrics.includeList)",
172
+
"Enable Loki in the FlowCollector API (loki.enable)": "Enable Loki in the FlowCollector API (loki.enable)",
173
173
"Reduce the Query Options -> limit to reduce the number of results": "Reduce the Query Options -> limit to reduce the number of results",
174
174
"Increase Loki \"max_entries_limit_per_query\" entry in configuration file": "Increase Loki \"max_entries_limit_per_query\" entry in configuration file",
175
175
"Add Namespace, Owner or Resource filters (which use indexed fields) to improve the query performance": "Add Namespace, Owner or Resource filters (which use indexed fields) to improve the query performance",
@@ -318,6 +318,7 @@
318
318
"When in \"Match any\" mode, try using only Namespace, Owner or Resource filters (which use indexed fields), or decrease limit / range, to improve the query performance": "When in \"Match any\" mode, try using only Namespace, Owner or Resource filters (which use indexed fields), or decrease limit / range, to improve the query performance",
319
319
"Add Namespace, Owner or Resource filters (which use indexed fields), or decrease limit / range, to improve the query performance": "Add Namespace, Owner or Resource filters (which use indexed fields), or decrease limit / range, to improve the query performance",
320
320
"Add more filters or decrease limit / range to improve the query performance": "Add more filters or decrease limit / range to improve the query performance",
321
+
"Could not fetch drop information": "Could not fetch drop information",
'When in "Match any" mode, try using only Namespace, Owner or Resource filters (which use indexed fields), or decrease limit / range, to improve the query performance'
634
-
);
635
-
}
636
-
if(match==='all'&&!hasIndexFields(filters.list)){
637
-
returnt(
638
-
// eslint-disable-next-line max-len
639
-
'Add Namespace, Owner or Resource filters (which use indexed fields), or decrease limit / range, to improve the query performance'
640
-
);
641
-
}
642
-
returnt('Add more filters or decrease limit / range to improve the query performance');
'When in "Match any" mode, try using only Namespace, Owner or Resource filters (which use indexed fields), or decrease limit / range, to improve the query performance'
0 commit comments