@payloops/observability 0.0.5 → 0.0.6
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/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +4 -2
package/dist/index.d.ts
CHANGED
|
@@ -94,7 +94,7 @@ declare function recordWebhookDelivery(status: 'success' | 'failed', attempt: nu
|
|
|
94
94
|
declare function recordWebhookLatency(durationMs: number, status: 'success' | 'failed'): void;
|
|
95
95
|
declare function recordHttpRequest(method: string, path: string, statusCode: number, durationMs: number): void;
|
|
96
96
|
declare function recordWorkflowStarted(workflowType: string, taskQueue: string): void;
|
|
97
|
-
declare function recordWorkflowCompleted(workflowType: string, taskQueue: string,
|
|
97
|
+
declare function recordWorkflowCompleted(workflowType: string, taskQueue: string, _durationMs: number): void;
|
|
98
98
|
declare function recordWorkflowFailed(workflowType: string, taskQueue: string, errorType: string): void;
|
|
99
99
|
declare function recordActivityLatency(activityType: string, durationMs: number, status: 'success' | 'failed'): void;
|
|
100
100
|
|
package/dist/index.js
CHANGED
|
@@ -453,7 +453,7 @@ function recordHttpRequest(method, path, statusCode, durationMs) {
|
|
|
453
453
|
function recordWorkflowStarted(workflowType, taskQueue) {
|
|
454
454
|
workflowStartedCounter.add(1, { workflow_type: workflowType, task_queue: taskQueue });
|
|
455
455
|
}
|
|
456
|
-
function recordWorkflowCompleted(workflowType, taskQueue,
|
|
456
|
+
function recordWorkflowCompleted(workflowType, taskQueue, _durationMs) {
|
|
457
457
|
workflowCompletedCounter.add(1, { workflow_type: workflowType, task_queue: taskQueue });
|
|
458
458
|
}
|
|
459
459
|
function recordWorkflowFailed(workflowType, taskQueue, errorType) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@payloops/observability",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -37,10 +37,12 @@
|
|
|
37
37
|
"pino": "^9.6.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
+
"@eslint/js": "^9.39.2",
|
|
40
41
|
"@types/node": "^22.0.0",
|
|
41
42
|
"eslint": "^9.0.0",
|
|
42
43
|
"pino-pretty": "^13.0.0",
|
|
43
44
|
"tsup": "^8.3.5",
|
|
44
|
-
"typescript": "^5.9.3"
|
|
45
|
+
"typescript": "^5.9.3",
|
|
46
|
+
"typescript-eslint": "^8.53.0"
|
|
45
47
|
}
|
|
46
48
|
}
|