@jitsu/protocols 2.14.0-canary.20251229.b9e9304 → 2.14.0-canary.20260113.73d3e18
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.
- package/functions.d.ts +10 -6
- package/package.json +1 -1
package/functions.d.ts
CHANGED
|
@@ -22,15 +22,19 @@ export interface Store {
|
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
export interface FunctionMetrics {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
set: (value: number) => void;
|
|
25
|
+
status(
|
|
26
|
+
component: string,
|
|
27
|
+
status: "error" | "ok",
|
|
28
|
+
errorType?: string
|
|
29
|
+
): {
|
|
31
30
|
//increment / decrement counter. Supports negative values
|
|
32
31
|
inc: (value: number) => void;
|
|
33
32
|
};
|
|
33
|
+
// gauge(name: string): {
|
|
34
|
+
// set: (value: number) => void;
|
|
35
|
+
// //increment / decrement counter. Supports negative values
|
|
36
|
+
// inc: (value: number) => void;
|
|
37
|
+
// };
|
|
34
38
|
}
|
|
35
39
|
|
|
36
40
|
export interface TTLStore extends Store {
|