В данном разделе описаны команды управления информацией о текущих вызовах очередей.
Команда предназначена для удаления информации о предпочтительном операторе.
Путь команды:
/domain/<DOMAIN>/cc/queue/realtime/clear-preffered-operator
Синтаксис:
realtime/clear-preffered-operator <QueueId> <PhoneNumber>
Параметры:
<QueueId> - имя очереди;
<PhoneNumber> - номер телефона привязку которого к оператору нужно удалить.
Пример:
admin@[mycelium1@ecss1]:/$ domain/biysk.local/cc/queue/realtime/clear-preffered-operator line1 509 ok [exec at: 04.03.2019 15:42:18, exec time: 137ms, nodes: core1@ecss1] |
Команда предназначена для просмотра информации о том, как быстро операторы обрабатывают вызовы из очереди.
Путь команды:
/domain/<DOMAIN>/cc/queue/realtime/handling-time-series-info
Синтаксис:
realtime/handling-time-series-info <Queue> [--histogram] [--raw-values [--sort]] [--plain-density-plot [--k <POSITIVE_INTEGER>]]
Параметры:
<Queue> - имя очереди.
Один или несколько вариантов отображения данных:
--histogram - просмотр гистограммы времени обработки вызова. Он отображается, если не указан другой флаг.
--raw-values - просмотр таблицы необработанных значений;
--sort - сортировка. По умолчанию значения сортируются по релевантности.
--plain-density-plot - график плотности распределения.
--k - коэффициент.
Пример:
admin@[mycelium1@ecss1]:/$ domain/biysk.local/cc/queue/realtime/handling-time-series-info line1 --histogram
SUMMARY
Lower threshold: 10 seconds.
Upper threshold: 1800 seconds.
Total/Max metrics count: 100/100.
Suitable metrics count: 99. Values between lower threshold and upper threshold.
Min suitable metrics count to make prediction: 10. Until that value reached 'defined value' will be used as estimated conversation handling time even if another 'based on' strategy is specified.
Prediction based on: defined value.
* Defined value: 60 seconds.
Suitable average: 15.030303030303031 seconds.
Most-freq interval average 15.030303030303031 seconds.
* - prediction is based on this value
HISTOGRAM
+----------------------------------------------------------------+
140 |-+ | | + + + + +-|
| | | |
| | | |
120 |-+ | | +-|
| | | |
100 |********************************* +-|
| | | * |
| | | * |
80 |-+ | | * +-|
| | | * |
60 |-+ | | * +-|
| | | * |
| | | * |
40 |-+ | | * +-|
| | | * |
20 |-+ | | * +-|
| | | * |
| | | + * + + |
0 +----------------------------------------------------------------+
0 10 20 30 40 50 60
t, seconds
LTh - Lower Threshold; UTh - Upper Threshold; AVG - Average
Most freq interval [0 .. 30] seconds. Conversations count: 99. Min: 12. Max: 19, Average: 15.030303030303031.
[exec at: 04.03.2019 15:37:02, exec time: 116ms, nodes: core1@ecss2] |
admin@[mycelium1@ecss1]:/$ domain/biysk.local/cc/queue/realtime/handling-time-series-info line1 --plain-density-plot
SUMMARY
Lower threshold: 10 seconds.
Upper threshold: 1800 seconds.
Total/Max metrics count: 100/100.
Suitable metrics count: 99. Values between lower threshold and upper threshold.
Min suitable metrics count to make prediction: 10. Until that value reached 'defined value' will be used as estimated conversation handling time even if another 'based on' strategy is specified.
Prediction based on: defined value.
* Defined value: 60 seconds.
Suitable average: 15.030303030303031 seconds.
Most-freq interval average 15.030303030303031 seconds.
* - prediction is based on this value
DENSITY PLOT
K = 200
f(t) = -1 * (erf(|Ti - Tj| / K))
erf - Gauss error function
2.5 +----------------------------------------------------------------+
| + + | + + + |
| | |
| ***** |
2 |-+ ** | ** +-|
| ** | ** |
| ** | * |
| *** | **** |
1.5 |-+ ** | ** +-|
| ** | *** |
| *** | ** |
1 |-+ ** | ** +-|
| *** | *** |
| ** | ** |
| ** | ** |
0.5 |*+ | *** +-|
| | ** |
| | ** |
| + + | + + + *|
0 +----------------------------------------------------------------+
12 13 14 15 16 17 18 19
t, seconds
MAX - Point with max density; AVG - Average
f'(t) normalized with respect to 0. f(t) -> X, f'(t) = f(t) + min(X)
[exec at: 04.03.2019 15:37:14, exec time: 116ms, nodes: core1@ecss2] |
Команда для просмотра текущего состояния очереди.
Путь команды:
/domain/<DOMAIN>/cc/queue/realtime/info
Синтаксис:
realtime/info <Queue> [-p]
Параметры:
<Queue> - очередь.
p (boolean) - показывать или нет предсказанное время обслуживания вызова находящегося в очереди
Пример:
|
Команда предназначена для отображения оператора привязанного к телефонному номеру как предпочитаемый оператор.
Путь команды:
/domain/<DOMAIN>/cc/queue/realtime/preffered-operator
Синтаксис:
realtime/preffered-operator <QueueId> <PhoneNumber>
Параметры:
<QueueId> - имя очереди;
<PhoneNumber> - номер телефона клиента, который распределялся на оператора.
admin@[mycelium1@ecss1]:/$ domain/biysk.local/cc/queue/realtime/preffered-operator line1 3854416977 509 [exec at: 04.03.2019 15:25:02, exec time: 75ms, nodes: core1@ecss2] |