@fiado/type-kit 3.61.0 → 3.62.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { AnalyticsErrorCategoryEnum } from "../enums/AnalyticsErrorCategoryEnum";
|
|
1
2
|
/**
|
|
2
3
|
* Métrica agregada por servicio, para rankings de uso y de fallo.
|
|
3
4
|
* Emitida dentro de {@link TransactionMetrics.byService}.
|
|
@@ -17,4 +18,10 @@ export declare class TransactionServiceMetric {
|
|
|
17
18
|
failed: number;
|
|
18
19
|
/** success / total, en rango 0..1. */
|
|
19
20
|
successRate: number;
|
|
21
|
+
/**
|
|
22
|
+
* Desglose de motivos del servicio (todas las claves presentes, con 0 si no aplica).
|
|
23
|
+
* Clave para decidir habilitar/deshabilitar: distingue fallo real (SYSTEM/PROVIDER)
|
|
24
|
+
* de falsa alarma (USER_ERROR) y ruido (DUPLICATE).
|
|
25
|
+
*/
|
|
26
|
+
byErrorCategory: Record<AnalyticsErrorCategoryEnum, number>;
|
|
20
27
|
}
|
package/package.json
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { AnalyticsErrorCategoryEnum } from "../enums/AnalyticsErrorCategoryEnum";
|
|
2
|
+
|
|
1
3
|
/**
|
|
2
4
|
* Métrica agregada por servicio, para rankings de uso y de fallo.
|
|
3
5
|
* Emitida dentro de {@link TransactionMetrics.byService}.
|
|
@@ -23,4 +25,11 @@ export class TransactionServiceMetric {
|
|
|
23
25
|
|
|
24
26
|
/** success / total, en rango 0..1. */
|
|
25
27
|
successRate: number;
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Desglose de motivos del servicio (todas las claves presentes, con 0 si no aplica).
|
|
31
|
+
* Clave para decidir habilitar/deshabilitar: distingue fallo real (SYSTEM/PROVIDER)
|
|
32
|
+
* de falsa alarma (USER_ERROR) y ruido (DUPLICATE).
|
|
33
|
+
*/
|
|
34
|
+
byErrorCategory: Record<AnalyticsErrorCategoryEnum, number>;
|
|
26
35
|
}
|