fix(metrics): never emit runtime_http_* samples without a handler label - #673
Merged
DK CICD / node-vtex-api-node-ci-v2-h4jmhugp-scan
succeeded
Aug 3, 2026 in 49s
node-vtex-api-node-ci-v2-h4jmhugp-scan
Progress summary:
| Step | Status |
|---|---|
| create-project-at-sonarcloud | 🟢 completed |
| scan | 🟢 completed |
⚠️ A completed status for an individual step simply indicates it completed. Errors might have happened: check the overall status of the Check Run and, if necessary, the logs below.
Details
Runner: node-ci-v2-h4jmhugp-scan-pod
create-project-at-sonarcloud logs (access task pipeline | access task only)
fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz
v3.17.10-127-g3518e0bee31 [https://dl-cdn.alpinelinux.org/alpine/v3.17/main]
v3.17.10-127-g3518e0bee31 [https://dl-cdn.alpinelinux.org/alpine/v3.17/community]
OK: 17833 distinct packages available
(1/5) Installing ca-certificates (20240226-r0)
(2/5) Installing brotli-libs (1.0.9-r9)
(3/5) Installing nghttp2-libs (1.51.0-r2)
(4/5) Installing libcurl (8.9.0-r0)
(5/5) Installing curl (8.9.0-r0)
Executing busybox-1.35.0-r29.trigger
Executing ca-certificates-20240226-r0.trigger
OK: 301 MiB in 50 packages
Creating project at self-hosted SonarQube
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 174 0 124 100 50 2931 1181 --:--:-- --:--:-- --:--:-- 4142
Project created: {"errors":[{"msg":"Could not create Project with key: \"node-vtex-api\". A similar key already exists: \"node-vtex-api\""}]}
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 128 0 0 100 128 0 4022 --:--:-- --:--:-- --:--:-- 4129
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 209 0 209 0 0 7666 0 --:--:-- --:--:-- --:--:-- 7740
Project bind success: {"key":"Sonar - Workflows","alm":"github","repository":"vtex/node-vtex-api","url":"https://api.github.com","summaryCommentEnabled":true,"monorepo":false,"repositoryUrl":"https://github.com/vtex/node-vtex-api"}
scan logs (access task pipeline | access task only)
INFO: SCM Publisher SCM provider for this project is: git
INFO: SCM Publisher 8 source files to be analyzed
WARN: Shallow clone detected, no blame information will be provided. You can convert to non-shallow with 'git fetch --unshallow'.
INFO: SCM Publisher 0/8 source files have been analyzed (done) | time=2ms
WARN: Missing blame information for the following files:
WARN: * src/service/metrics/clusterMetricsAggregator.ts
WARN: * src/service/metrics/requestMetricsMiddleware.ts
WARN: * src/service/metrics/otelRequestMetricsMiddleware.ts
WARN: * src/service/worker/index.ts
WARN: * src/service/worker/runtime/statusTrack.ts
WARN: * src/service/worker/runtime/builtIn/middlewares.ts
WARN: * src/service/metrics/requestHandlerLabel.ts
WARN: * src/service/master.ts
WARN: This may lead to missing/broken features in SonarQube
INFO: CPD Executor 37 files had no CPD blocks
INFO: CPD Executor Calculating CPD for 162 files
INFO: CPD Executor CPD calculation finished (done) | time=28ms
INFO: SCM revision ID '95810664016008f083b35866c4f05245380f454d'
INFO: SCM writing changed lines
WARN: No merge base found between HEAD and refs/heads/master
INFO: SCM writing changed lines (done) | time=23ms
INFO: Analysis report generated in 89ms, dir size=372.3 kB
INFO: Analysis report compressed in 87ms, zip size=154.4 kB
INFO: Analysis report uploaded in 85ms
INFO: ANALYSIS SUCCESSFUL, you can find the results at: http://sonarqube.vtex.systems/dashboard?id=node-vtex-api&pullRequest=673
INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
INFO: More about the report processing at http://sonarqube.vtex.systems/api/ce/task?id=8338e13b-378f-44b2-91d3-d44bb84abef1
INFO: Analysis total time: 12.850 s
INFO: ------------------------------------------------------------------------
INFO: EXECUTION SUCCESS
INFO: ------------------------------------------------------------------------
INFO: Total time: 14.234s
INFO: Final Memory: 17M/80M
INFO: ------------------------------------------------------------------------
Loading