whatap 2.0.4 → 2.0.5-canary.1
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/.claude/settings.local.json +15 -1
- package/agent/darwin/arm64/whatap_nodejs +0 -0
- package/agent/linux/amd64/whatap_nodejs +0 -0
- package/agent/linux/arm64/whatap_nodejs +0 -0
- package/build.txt +2 -2
- package/lib/observers/grpc-observer.js +1 -0
- package/lib/observers/http-observer.js +13 -0
- package/package.json +2 -2
|
@@ -20,7 +20,21 @@
|
|
|
20
20
|
"Bash(docker info *)",
|
|
21
21
|
"Bash(docker system *)",
|
|
22
22
|
"Bash(sshpass -p 'Wh@1410X2' ssh -o StrictHostKeyChecking=no -o ConnectTimeout=10 whatap@192.168.100.21 'echo \"접속 OK: $\\(whoami\\)@$\\(hostname\\)\"; echo \"arch: $\\(uname -m\\)\"; docker --version 2>&1 | head -1; echo \"docker 권한: $\\(docker ps >/dev/null 2>&1 && echo ok || echo \"sudo 필요/불가\"\\)\"')",
|
|
23
|
-
"Bash(sshpass -p Wh@1410X2 ssh -o StrictHostKeyChecking=no whatap@192.168.100.21 ' *)"
|
|
23
|
+
"Bash(sshpass -p Wh@1410X2 ssh -o StrictHostKeyChecking=no whatap@192.168.100.21 ' *)",
|
|
24
|
+
"Bash(git log *)",
|
|
25
|
+
"Bash(sed -n '/urls := stringutil.Tokenizer\\(this.conf.TraceNormalizeUrls/,/^\tthis.restUrlTable = pathTreeTmp/p' agent/trace/ServiceURLPatternDetector.go)",
|
|
26
|
+
"Bash(sed -n '/func \\(this \\\\*ServiceURLPatternDetector\\) Normalize/,/^}/p' agent/trace/ServiceURLPatternDetector.go)",
|
|
27
|
+
"Bash(sed -n '/type ServiceURLPatternDetector struct/,/^}/p' agent/trace/ServiceURLPatternDetector.go)",
|
|
28
|
+
"Bash(sed -n '/p := new\\(ServiceURLPatternDetector\\)/,/p.Build\\(false\\)/p' agent/trace/ServiceURLPatternDetector.go)",
|
|
29
|
+
"Bash(GOFLAGS=-mod=mod go build ./agent/trace/...)",
|
|
30
|
+
"Bash(echo \"build exit: $?\")",
|
|
31
|
+
"Bash(GOFLAGS=-mod=mod go build ./...)",
|
|
32
|
+
"Bash(echo \"전체 build exit: $?\")",
|
|
33
|
+
"Bash(GOFLAGS=-mod=mod go vet ./agent/trace/... ./agent/config/...)",
|
|
34
|
+
"Bash(echo \"vet exit: $?\")",
|
|
35
|
+
"Read(//tmp/**)",
|
|
36
|
+
"Bash(node -c lib/observers/http-observer.js)",
|
|
37
|
+
"Bash(node -e \"console.log\\(require\\('/Users/seunghunlee/workspace/go_sample/node_modules/whatap/package.json'\\).version\\)\")"
|
|
24
38
|
]
|
|
25
39
|
}
|
|
26
40
|
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/build.txt
CHANGED
|
@@ -265,6 +265,7 @@ function initCtx(req, res) {
|
|
|
265
265
|
return null;
|
|
266
266
|
}
|
|
267
267
|
|
|
268
|
+
ctx.status = 200;
|
|
268
269
|
// 진행 중인 외부 HTTP 요청 정보를 저장 (여러 개 동시 추적)
|
|
269
270
|
ctx.activeHttpcList = [];
|
|
270
271
|
|
|
@@ -439,6 +440,18 @@ HttpObserver.prototype.__endTransaction = function (error, ctx, req, res) {
|
|
|
439
440
|
Logger.printError('WHATAP-LLM-019', 'flushPendingPacks failed', e, false);
|
|
440
441
|
}
|
|
441
442
|
|
|
443
|
+
if (res && res.statusCode >= 400 && !ctx.error) {
|
|
444
|
+
ctx.status = res.statusCode;
|
|
445
|
+
const isStatusIgnore = shouldIgnoreError(res.statusCode, ctx.service_name, status_ignore, status_ignore_set);
|
|
446
|
+
if (transaction_status_error_enable && !isStatusIgnore) {
|
|
447
|
+
const statusError = {
|
|
448
|
+
class: res.statusMessage || ('HTTP ' + res.statusCode),
|
|
449
|
+
message: ''
|
|
450
|
+
};
|
|
451
|
+
interceptorError(res.statusCode, statusError, ctx);
|
|
452
|
+
}
|
|
453
|
+
}
|
|
454
|
+
|
|
442
455
|
ctx.start_time = Date.now();
|
|
443
456
|
// golib UdpTxEndPack Node.js 분기(Ver>=60102) 순서:
|
|
444
457
|
// [Host, Uri, Mtid, Mdepth, McallerTxid, McallerPcode, McallerSpec, McallerUrl, Status,
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "whatap",
|
|
3
3
|
"homepage": "http://www.whatap.io",
|
|
4
|
-
"version": "2.0.
|
|
5
|
-
"releaseDate": "
|
|
4
|
+
"version": "2.0.5-canary.1",
|
|
5
|
+
"releaseDate": "20260709",
|
|
6
6
|
"description": "Monitoring and Profiling Service",
|
|
7
7
|
"main": "index.js",
|
|
8
8
|
"scripts": {},
|