Comments (2)
@keegoid-nr This error should only be getting logged in debug mode, is that enabled?
from newrelic-lambda-extension.
CloudWatch logs with extension in debug log level:
RequestId: 92eaa6f2-c677-4f0c-a9d1-35ec33ac4720 Version: $LATEST
[NR_EXT] New Relic Lambda Extension starting up
[NR_EXT] Registration response: {"functionName":"[REDACTED]","functionVersion":"$LATEST","handler":"newrelic_lambda_wrapper.handler"}
[NR_EXT] Fetching license key from secret id [REDACTED]
[NR_EXT] Starting log server.
[NR_EXT] Log registration with request {"buffering":{"maxBytes":1048576,"maxItems":10000,"timeoutMs":500},"destination":{"URI":"http://sandbox:45655","protocol":"HTTP"},"types":["platform","function"]}
LOGS Name: newrelic-lambda-extension State: Subscribed Types: [platform,function]
[NR_EXT] Registered for logs. Got response code 200 "OK"
[NR_EXT] Fetching license key from secret id [REDACTED]
Lambda Handler starting up
EXTENSION Name: newrelic-lambda-extension State: Ready Events: [INVOKE,SHUTDOWN]
[NR_EXT] Aggressive harvest yielded 0 invocations
2022-06-03 15:03:59,789 (17/MainThread) newrelic.core.agent INFO - New Relic Python Agent (7.10.0.175)
[NR_EXT] Sending function logs for request 92eaa6f2-c677-4f0c-a9d1-35ec33ac4720
[NR_EXT] Sending function logs for request 92eaa6f2-c677-4f0c-a9d1-35ec33ac4720
Hello, world
[NR_EXT] Sent 1/1 New Relic function log batches successfully in 259.825ms (258ms to transmit 0.3kB).
[NR_EXT] Agent telemetry bytes: [REDACTED]
[NR_EXT] unable to uncompress payload: EOF
[NR_EXT] Aggressive harvest yielded 1 invocations
[NR_EXT] Sent 1/1 New Relic payload batches with 1 log events successfully in 242.306ms (241ms to transmit 1.6kB).
END RequestId: 92eaa6f2-c677-4f0c-a9d1-35ec33ac4720
REPORT RequestId: 92eaa6f2-c677-4f0c-a9d1-35ec33ac4720 Duration: 533.67 ms Billed Duration: 534 ms Memory Size: 128 MB Max Memory Used: 77 MB Init Duration: 678.78 ms
The error does not appear in info level logs:
START RequestId: e3a191b7-b3cf-4390-a43b-5005a85ddc18 Version: $LATEST
[NR_EXT] New Relic Lambda Extension starting up
[NR_EXT] Fetching license key from secret id [REDACTED]
[NR_EXT] Starting log server.
LOGS Name: newrelic-lambda-extension State: Subscribed Types: [platform,function]
[NR_EXT] Fetching license key from secret id [REDACTED]
Lambda Handler starting up
EXTENSION Name: newrelic-lambda-extension State: Ready Events: [INVOKE,SHUTDOWN]
2022-06-03 15:08:27,730 (17/MainThread) newrelic.core.agent INFO - New Relic Python Agent (7.10.0.175)
Hello, world
[NR_EXT] Sent 1/1 New Relic function log batches successfully in 267.829ms (250ms to transmit 0.3kB).
[NR_EXT] Sent 1/1 New Relic payload batches with 1 log events successfully in 276.598ms (275ms to transmit 1.5kB).
END RequestId: e3a191b7-b3cf-4390-a43b-5005a85ddc18
REPORT RequestId: e3a191b7-b3cf-4390-a43b-5005a85ddc18 Duration: 508.15 ms Billed Duration: 509 ms Memory Size: 128 MB Max Memory Used: 79 MB Init Duration: 649.08 ms
from newrelic-lambda-extension.
Related Issues (20)
- Duplicates Logs HOT 7
- fatal error: concurrent map read and map write HOT 1
- Event API support?
- `make dist` *** No rule to make target `dist'
- ARM64 Extension has intermittent delay (10 seconds+) after registering for logs
- PHP Support HOT 6
- NEW_RELIC_EXTENSION_SEND_FUNCTION_LOGS requires lower-case 'true', but is documented with 'TRUE' HOT 1
- nodejs 14 lambda log duration over 120 seconds HOT 6
- 403 Forbidden error HOT 16
- Node Handler check, is not handling mjs file extension HOT 1
- Lambda container support
- `NewRelicNodeJS14X:91` and higher is broken
- Using deprecated agent API in python example HOT 1
- execution fails when using integration with sam local invoke HOT 1
- Dotnet core 6 support for lambda
- Duplicates Logs HOT 3
- send on closed channel panic at logserver/logserver.go:185 HOT 5
- New Relic Extension shutting down HOT 2
- trace.id Log Property is Always Empty String
- Add additional parameters to logs HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from newrelic-lambda-extension.