@mondaydotcomorg/z2h-shared-utils 0.4.1 → 0.4.2
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/dist/esm/observability/events.d.ts +14 -3
- package/dist/esm/observability/events.d.ts.map +1 -1
- package/dist/esm/observability/events.mjs +14 -3
- package/dist/observability/events.d.ts +14 -3
- package/dist/observability/events.d.ts.map +1 -1
- package/dist/observability/events.js +14 -3
- package/package.json +1 -1
- package/src/observability/events.ts +14 -3
|
@@ -1,8 +1,19 @@
|
|
|
1
|
-
/**
|
|
1
|
+
/**
|
|
2
|
+
* Telemetry names emitted by zth-backend-runner, grouped by domain.
|
|
3
|
+
*
|
|
4
|
+
* Two destinations, distinguished by suffix: `*Metric` names go to Datadog via `metric.*`
|
|
5
|
+
* and may only carry bounded tags; the rest are BI events sent via `trackEvent`.
|
|
6
|
+
*/
|
|
2
7
|
export declare const BackendRunnerEvents: {
|
|
3
8
|
readonly invoke: {
|
|
4
|
-
readonly
|
|
5
|
-
readonly
|
|
9
|
+
readonly successMetric: "z2h.backend_invoke.success";
|
|
10
|
+
readonly failureMetric: "z2h.backend_invoke.error";
|
|
11
|
+
readonly biEvent: "z2h_backend_invoke";
|
|
12
|
+
};
|
|
13
|
+
readonly channel: {
|
|
14
|
+
readonly callMetric: "z2h.channel.call";
|
|
15
|
+
readonly durationMetric: "z2h.channel.duration_ms";
|
|
16
|
+
readonly biEvent: "z2h_channel_call";
|
|
6
17
|
};
|
|
7
18
|
readonly snowflake: {
|
|
8
19
|
readonly queryExecuted: "z2h_snowflake_query_executed";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../../src/observability/events.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../../src/observability/events.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgCtB,CAAC;AAEX,iEAAiE;AACjE,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;CAmBnB,CAAC;AAEX,oDAAoD;AACpD,eAAO,MAAM,cAAc;;;;;;;;CAQjB,CAAC;AAEX,sCAAsC;AACtC,eAAO,MAAM,YAAY;;CAEf,CAAC"}
|
|
@@ -1,8 +1,19 @@
|
|
|
1
|
-
/**
|
|
1
|
+
/**
|
|
2
|
+
* Telemetry names emitted by zth-backend-runner, grouped by domain.
|
|
3
|
+
*
|
|
4
|
+
* Two destinations, distinguished by suffix: `*Metric` names go to Datadog via `metric.*`
|
|
5
|
+
* and may only carry bounded tags; the rest are BI events sent via `trackEvent`.
|
|
6
|
+
*/
|
|
2
7
|
const BackendRunnerEvents = {
|
|
3
8
|
invoke: {
|
|
4
|
-
|
|
5
|
-
|
|
9
|
+
successMetric: 'z2h.backend_invoke.success',
|
|
10
|
+
failureMetric: 'z2h.backend_invoke.error',
|
|
11
|
+
biEvent: 'z2h_backend_invoke',
|
|
12
|
+
},
|
|
13
|
+
channel: {
|
|
14
|
+
callMetric: 'z2h.channel.call',
|
|
15
|
+
durationMetric: 'z2h.channel.duration_ms',
|
|
16
|
+
biEvent: 'z2h_channel_call',
|
|
6
17
|
},
|
|
7
18
|
snowflake: {
|
|
8
19
|
queryExecuted: 'z2h_snowflake_query_executed',
|
|
@@ -1,8 +1,19 @@
|
|
|
1
|
-
/**
|
|
1
|
+
/**
|
|
2
|
+
* Telemetry names emitted by zth-backend-runner, grouped by domain.
|
|
3
|
+
*
|
|
4
|
+
* Two destinations, distinguished by suffix: `*Metric` names go to Datadog via `metric.*`
|
|
5
|
+
* and may only carry bounded tags; the rest are BI events sent via `trackEvent`.
|
|
6
|
+
*/
|
|
2
7
|
export declare const BackendRunnerEvents: {
|
|
3
8
|
readonly invoke: {
|
|
4
|
-
readonly
|
|
5
|
-
readonly
|
|
9
|
+
readonly successMetric: "z2h.backend_invoke.success";
|
|
10
|
+
readonly failureMetric: "z2h.backend_invoke.error";
|
|
11
|
+
readonly biEvent: "z2h_backend_invoke";
|
|
12
|
+
};
|
|
13
|
+
readonly channel: {
|
|
14
|
+
readonly callMetric: "z2h.channel.call";
|
|
15
|
+
readonly durationMetric: "z2h.channel.duration_ms";
|
|
16
|
+
readonly biEvent: "z2h_channel_call";
|
|
6
17
|
};
|
|
7
18
|
readonly snowflake: {
|
|
8
19
|
readonly queryExecuted: "z2h_snowflake_query_executed";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../src/observability/events.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../src/observability/events.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgCtB,CAAC;AAEX,iEAAiE;AACjE,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;CAmBnB,CAAC;AAEX,oDAAoD;AACpD,eAAO,MAAM,cAAc;;;;;;;;CAQjB,CAAC;AAEX,sCAAsC;AACtC,eAAO,MAAM,YAAY;;CAEf,CAAC"}
|
|
@@ -1,10 +1,21 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
2
|
|
|
3
|
-
/**
|
|
3
|
+
/**
|
|
4
|
+
* Telemetry names emitted by zth-backend-runner, grouped by domain.
|
|
5
|
+
*
|
|
6
|
+
* Two destinations, distinguished by suffix: `*Metric` names go to Datadog via `metric.*`
|
|
7
|
+
* and may only carry bounded tags; the rest are BI events sent via `trackEvent`.
|
|
8
|
+
*/
|
|
4
9
|
const BackendRunnerEvents = {
|
|
5
10
|
invoke: {
|
|
6
|
-
|
|
7
|
-
|
|
11
|
+
successMetric: 'z2h.backend_invoke.success',
|
|
12
|
+
failureMetric: 'z2h.backend_invoke.error',
|
|
13
|
+
biEvent: 'z2h_backend_invoke',
|
|
14
|
+
},
|
|
15
|
+
channel: {
|
|
16
|
+
callMetric: 'z2h.channel.call',
|
|
17
|
+
durationMetric: 'z2h.channel.duration_ms',
|
|
18
|
+
biEvent: 'z2h_channel_call',
|
|
8
19
|
},
|
|
9
20
|
snowflake: {
|
|
10
21
|
queryExecuted: 'z2h_snowflake_query_executed',
|
package/package.json
CHANGED
|
@@ -1,8 +1,19 @@
|
|
|
1
|
-
/**
|
|
1
|
+
/**
|
|
2
|
+
* Telemetry names emitted by zth-backend-runner, grouped by domain.
|
|
3
|
+
*
|
|
4
|
+
* Two destinations, distinguished by suffix: `*Metric` names go to Datadog via `metric.*`
|
|
5
|
+
* and may only carry bounded tags; the rest are BI events sent via `trackEvent`.
|
|
6
|
+
*/
|
|
2
7
|
export const BackendRunnerEvents = {
|
|
3
8
|
invoke: {
|
|
4
|
-
|
|
5
|
-
|
|
9
|
+
successMetric: 'z2h.backend_invoke.success',
|
|
10
|
+
failureMetric: 'z2h.backend_invoke.error',
|
|
11
|
+
biEvent: 'z2h_backend_invoke',
|
|
12
|
+
},
|
|
13
|
+
channel: {
|
|
14
|
+
callMetric: 'z2h.channel.call',
|
|
15
|
+
durationMetric: 'z2h.channel.duration_ms',
|
|
16
|
+
biEvent: 'z2h_channel_call',
|
|
6
17
|
},
|
|
7
18
|
snowflake: {
|
|
8
19
|
queryExecuted: 'z2h_snowflake_query_executed',
|