fix(telemetry): add log transport to avoid warn (#1451)

Reviewed-on: daoyoucloud/tachybase#1451
Reviewed-by: sealday <zhanglin@daoyoucloud.com>
Co-authored-by: TomyJan <TomyJan6@gmail.com>
Co-committed-by: TomyJan <TomyJan6@gmail.com>
This commit is contained in:
TomyJan 2024-08-12 11:23:06 +08:00 committed by sealday
parent 9720c52628
commit a85bc15b95
2 changed files with 14 additions and 0 deletions

View File

@ -15,6 +15,7 @@
"@opentelemetry/sdk-trace-base": "^1.19.0", "@opentelemetry/sdk-trace-base": "^1.19.0",
"@opentelemetry/sdk-trace-node": "^1.19.0", "@opentelemetry/sdk-trace-node": "^1.19.0",
"@opentelemetry/semantic-conventions": "^1.19.0", "@opentelemetry/semantic-conventions": "^1.19.0",
"@opentelemetry/winston-transport": "^0.5.0",
"@tachybase/opentelemetry-auto-instrumentations": "^0.1.1", "@tachybase/opentelemetry-auto-instrumentations": "^0.1.1",
"@tachybase/utils": "workspace:*", "@tachybase/utils": "workspace:*",
"node-os-utils": "^1.3.7" "node-os-utils": "^1.3.7"

View File

@ -1300,6 +1300,9 @@ importers:
'@opentelemetry/semantic-conventions': '@opentelemetry/semantic-conventions':
specifier: ^1.19.0 specifier: ^1.19.0
version: 1.25.1 version: 1.25.1
'@opentelemetry/winston-transport':
specifier: ^0.5.0
version: 0.5.0
'@tachybase/opentelemetry-auto-instrumentations': '@tachybase/opentelemetry-auto-instrumentations':
specifier: ^0.1.1 specifier: ^0.1.1
version: 0.1.1(@opentelemetry/api@1.7.0)(encoding@0.1.13) version: 0.1.1(@opentelemetry/api@1.7.0)(encoding@0.1.13)
@ -8155,6 +8158,10 @@ packages:
peerDependencies: peerDependencies:
'@opentelemetry/api': ^1.1.0 '@opentelemetry/api': ^1.1.0
'@opentelemetry/winston-transport@0.5.0':
resolution: {integrity: sha512-uPtnRgP4+CAQjns7TXdhJf46WGRj8kESmBWvm+4aVpvqHGfU7c+f0yzMx8o04+LyXXkoOqYeq54X0grEFtVtdw==}
engines: {node: '>=14'}
'@pkgjs/parseargs@0.11.0': '@pkgjs/parseargs@0.11.0':
resolution: {integrity: sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==} resolution: {integrity: sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==}
engines: {node: '>=14'} engines: {node: '>=14'}
@ -16404,6 +16411,7 @@ packages:
engines: {node: '>=0.6.0', teleport: '>=0.2.0'} engines: {node: '>=0.6.0', teleport: '>=0.2.0'}
deprecated: |- deprecated: |-
You or someone you depend on is using Q, the JavaScript Promise library that gave JavaScript developers strong feelings about promises. They can almost certainly migrate to the native JavaScript promise now. Thank you literally everyone for joining me in this bet against the odds. Be excellent to each other. You or someone you depend on is using Q, the JavaScript Promise library that gave JavaScript developers strong feelings about promises. They can almost certainly migrate to the native JavaScript promise now. Thank you literally everyone for joining me in this bet against the odds. Be excellent to each other.
(For a CapTP with native promises, see @endo/eventual-send and @endo/captp) (For a CapTP with native promises, see @endo/eventual-send and @endo/captp)
qrcode.react@3.1.0: qrcode.react@3.1.0:
@ -24014,6 +24022,11 @@ snapshots:
'@opentelemetry/api': 1.7.0 '@opentelemetry/api': 1.7.0
'@opentelemetry/core': 1.25.1(@opentelemetry/api@1.7.0) '@opentelemetry/core': 1.25.1(@opentelemetry/api@1.7.0)
'@opentelemetry/winston-transport@0.5.0':
dependencies:
'@opentelemetry/api-logs': 0.52.1
winston-transport: 4.6.0
'@pkgjs/parseargs@0.11.0': '@pkgjs/parseargs@0.11.0':
optional: true optional: true