UI: Add new filter params in Statistics events
This commit is contained in:
parent
3af07efd7f
commit
3e4cfdc37f
@ -75,7 +75,7 @@ export class EventFilterPanelComponent {
|
||||
}
|
||||
|
||||
isNumberFields(key: string): string {
|
||||
return ['messagesProcessed', 'errorsOccurred'].includes(key) ? key : '';
|
||||
return ['minMessagesProcessed', 'maxMessagesProcessed', 'minErrorsOccurred', 'maxErrorsOccurred'].includes(key) ? key : '';
|
||||
}
|
||||
|
||||
selectorValues(key: string): string[] {
|
||||
|
||||
@ -356,8 +356,10 @@ export class EventTableConfig extends EntityTableConfig<Event, TimePageLink> {
|
||||
break;
|
||||
case EventType.STATS:
|
||||
this.filterColumns.push(
|
||||
{key: 'messagesProcessed', title: 'event.min-messages-processed'},
|
||||
{key: 'errorsOccurred', title: 'event.min-errors-occurred'}
|
||||
{key: 'minMessagesProcessed', title: 'event.min-messages-processed'},
|
||||
{key: 'maxMessagesProcessed', title: 'event.max-messages-processed'},
|
||||
{key: 'minErrorsOccurred', title: 'event.min-errors-occurred'},
|
||||
{key: 'maxErrorsOccurred', title: 'event.max-errors-occurred'}
|
||||
);
|
||||
break;
|
||||
case DebugEventType.DEBUG_RULE_NODE:
|
||||
|
||||
@ -2024,8 +2024,10 @@
|
||||
"success": "Success",
|
||||
"failed": "Failed",
|
||||
"messages-processed": "Messages processed",
|
||||
"max-messages-processed": "Maximum messages processed",
|
||||
"min-messages-processed": "Minimum messages processed",
|
||||
"errors-occurred": "Errors occurred",
|
||||
"max-errors-occurred": "Maximum errors occurred",
|
||||
"min-errors-occurred": "Minimum errors occurred",
|
||||
"min-value": "Minimum value is 0.",
|
||||
"all-events": "All",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user