Node.js layer v0.24.0 does not work with @opentelemetry/winston-transport v0.35.0
I maintainer di solito rispondono entro 2 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 57/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- aws, go, javascript, node.js
- Ambito
- backend-api-design, observability
Direzione di ricerca
Start by reading the Node.js layer's log export and instrumentation setup, then compare its OpenTelemetry log API dependencies with @opentelemetry/winston-transport 0.35.0; the issue names no source files or tests. Reproduce with the listed Lambda, Winston, and transport versions, then confirm logs export or that a clear warning appears for an unsupported version.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Describe the bug
We're using the nodejs-layer 0.24.0 and the @opentelemetry/winston-transport for logging.
With the recently released @opentelemetry/winston-transport 0.35.0 however, logs are no longer exported by the nodejs-layer. Previously, with @opentelemetry/winston-transport 0.34.0, this was working great.
I suppose this is with the recent switch in @opentelemetry/winston-transport 0.35.0 to use @opentelemetry/api 1.10.0. In 0.34.0, it used the dependency @opentelemetry/api-logs 0.223.0. (Note "api-logs" instead of "api")
Steps to reproduce
- Create an AWS Node.js 24 Lambda with the nodejs-layer 0.24.0.
- Install winston 3.x and @opentelemetry/winston-transport 0.35.0.
- Deploy some code which creates a default winston logger and produces some logs.
What did you expect to see?
I expect the nodejs-layer to export logs as it used to do.
If that is not possible because of a version mismatch, I expect to see some kind of warning/error log in CloudWatch, instead of it being silently broken.
What did you see instead?
I did not see logs being exported, neither did I get any warning/error.
Additional context
Add any other context about the problem here.
Tip: React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.
- Lingua principale
- Go
- Stelle
- 433
- Fork
- 249
- Merge medio
- 1g 12h
- PR unite (30g)
- 39
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di open-telemetry/opentelemetry-lambda
-
enhancement ruby
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
open-telemetry/opentelemetry-lambda#2741 ·
I maintainer di solito rispondono entro 2 giorni
-
processor/cold_start
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
open-telemetry/opentelemetry-lambda#2738 ·
I maintainer di solito rispondono entro 2 giorni
-
Fix install-toolsApertago
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
open-telemetry/opentelemetry-lambda#2736 ·
I maintainer di solito rispondono entro 2 giorni
-
enhancement javascript
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
open-telemetry/opentelemetry-lambda#2744 ·
I maintainer di solito rispondono entro 2 giorni
-
enhancement python
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
open-telemetry/opentelemetry-lambda#2742 ·
I maintainer di solito rispondono entro 2 giorni
Tutte le issue di open-telemetry/opentelemetry-lambda
Issue simili
-
[bug]: scan-all update-schedule does not auto-convert 5-field cron expressions as documentedForse già presa @vishnums2k5 l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
goharbor/harbor-cli#1143 · 1 commento ·
I maintainer di solito rispondono entro 8 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
--info inline-right:PREFIX leaves the first character of the prefix when the info gets shorterAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 73/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
rossoctl/context-guru#1053 ·
I maintainer di solito rispondono entro 1 giorno
-
[BUG] EphemeralJob matches every pod in the namespace when spec.selector is emptyForse già presa @vishnums2k5 l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
openkruise/kruise#2656 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno