Comments (2)
Hi Bastian,
Thanks for the issue reports! This is unfortunately one of the few downsides of processing all instrumentation that Rails provides.
We're working on a new version of the gem that handles this case a lot better. It's in beta right now, but could take a while before we release it.
Meanwhile to prevent memory issues in long-running jobs we've implemented a way to "pause" the ingestion of instrumentation like so:
class WorkWorker
def perform
Appsignal.without_instrumentation do
# lots of heavy lifting here
end
end
end
This will still catch any errors that might occur, but it won't collect all the performance data.
Let me know if this works for you right now.
Best,
Robert
from appsignal-ruby.
okay, much cleaner work around than clearing all events when the array gets too large.
we're looking forward to the new release. Yet this year possibly?
Cheers
Bastian
from appsignal-ruby.
Related Issues (20)
- Fix Sidekiq 7.1 error handler deprecation HOT 1
- Add support for SolidCache HOT 2
- Add support for Solid Queue HOT 8
- Sidekiq minutely probe reports error
- Support nested exceptions HOT 12
- Allow to build custom_data sample data HOT 2
- Use thread-local variables instead of fiber-local variables to store global configuration HOT 1
- Extension fails to load under Alpine Linux 3.19 HOT 1
- Diagnose report fails to send `mkmf.log`
- Appsignal logger causes sidekiq to crash HOT 2
- Log not being rotated HOT 5
- Rename internal logger
- The request header REQUEST_URI contains PII or secrets that should be stripped via filter_parameters HOT 4
- Typo in Changelog HOT 1
- Report activejob errors only when the job is discarded HOT 2
- Rails.error.report is missing information compared to Appsignal.set_error HOT 9
- Cron heartbeats support HOT 3
- AppSignal Agent crashes and stops logging: No longer owner of lock file '/tmp/appsignal/agent.lock', agent exiting HOT 2
- Allow sending custom_data via the Rails error reporter
- Error in STDOUT about unable to log sql events HOT 5
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 appsignal-ruby.