Comments (1)
I experienced the same issue, this assertion is fairly unreliable.
To be more concrete, once the sender thread reaches to this line https://github.com/Microsoft/ApplicationInsights-Ruby/blob/develop/lib/application_insights/channel/asynchronous_sender.rb#L104
before the assertion, the notification will be clear, thus result = queue.flush_notification.wait
will return false.
I've fixed this in #57, which simply drops this assertion. The main purpose of this test case is to make sure when flush
is called, the sender will start()
.
from applicationinsights-ruby.
Related Issues (20)
- Release 0.5.4 HOT 5
- Need some basic logging if failed to send request to backend server HOT 1
- Only logging exceptions in Rails within App Services on Linux HOT 1
- Update yard dependency as it have known vulnarability
- Build failure HOT 1
- Open to external contributions? HOT 1
- Adding dependency tracking HOT 3
- When using `ApplicationInsights::Rack::TrackRequest`, expose a request's ID HOT 7
- Update schema to the latest version HOT 4
- Add logging to the TrackRequest middleware
- Should have a size limit for message queue HOT 2
- Rails logs
- Asynchronous sender work thread terminated abnormally: Net::ReadTimeout HOT 5
- undefined method `new' for "ApplicationInsights::Rack::TrackRequest":String when starting server or sidekiq on Rails 5.2 HOT 2
- Release date for 0.5.7 HOT 1
- Output full stack trace when async sender dies
- Success always false in TelemetryClient.track_request?
- Different SERVICE_ENDPOINT_URI for Azure china HOT 1
- Unable to set role_name and role_instance 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 applicationinsights-ruby.