integration of the current new relic agent into Chalice handlers
See original GitHub issueI wonder if there is anyone currently writing a library which might automaticcally integrate the new relic layer into Chalice handlers in app.py.
A Lambda can be instrumented based on this documentation. There is a small amount of wrapper code to be written around each Lambda, which seems to be a case for building a decorator to wrap it.
And this needs to work with automatic layering so that all the new relic dependencies are availalbe.
I am looking for something similar to what Sentry has done. The amount of code to add was minimal.
Something like this:
from sentry_sdk.integrations.chalice import ChaliceIntegration
sentry_sdk.init(
dsn=ParamContainer.SENTRY_DSN,
integrations=[ChaliceIntegration()]
)
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
Infrastructure agent v1.10.26 - New Relic Documentation
The agent now sends the integration name ( integrationName ) and version ( integrationVersion ) when any events are generated.
Read more >NestJS Integration is Available - New Relic
Integrate NestJS using the New Relic Node.js agent. Because it uses the latest JavaScript patterns and is transpiled from TypeScript to ES5 ...
Read more >Custom instrumentation for Vert.x based applications - Agents
This implementation is based on the assumption that one is able to control when a web transaction is started ( NewRelic.getAgent().
Read more >Vert.x | New Relic Instant Observability
This quickstart automatically instruments Vert.x with the New Relic Java agent, and allows you to instantly monitor your Java application with out-of-the-box ...
Read more >Guided install overview - New Relic Documentation
The guided install uses our command line interface (CLI), the infrastructure agent for your host environment, and a library of installation recipes to ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@jamesls Even after Using extension and layer, NewRelic instrumentation requires that we set the main starter function to be the function of NewRelic layer and pass in the actual lambda handler function name as an environment variable. This way the control passes through the NewRelic Handler and then gets forwarded to the actual Lambda function call. We need an ability to invoke NewRelic Layer function instead of main chalice function
Any progress @ShahBinoy ? I’ve only just started at looking at NewRelic monitoring for a Chalice App.