Comments (9)
I will try to do it, since i already started in similar gem yesterday.
from activejob.
@dhh, i nearly finished this task, need to rewrite tests from rspec to minitest and the configuration module.
from activejob.
Sweet! 👍
On May 25, 2014, at 1:22 PM, Abdelkader Boudih [email protected] wrote:
@dhh, i nearly finished this task, need to rewrite tests from rspec to minitest and the configuration module.
—
Reply to this email directly or view it on GitHub.
from activejob.
WIP : https://github.com/seuros/activejob-stats
It is working.
from activejob.
Great stuff! Even better as a generic plugin. I’ll add specific notes tomorrow.
On May 25, 2014, at 6:30 PM, Abdelkader Boudih [email protected] wrote:
WIP : https://github.com/seuros/activejob-stats
It is working.—
Reply to this email directly or view it on GitHub.
from activejob.
I'd love to see activejobs support statsd out of the box. I don't have a problem with an alternative gem providing plugins for other APIs or data stores but statsd is so widely accepted that Rails making an opinionated choice here seems ok.
from activejob.
Not everybody want/need stats for their jobs and statsd require special installation of nodejs/python and configuring apache/nginx . I think it better to keep AJ as described in it's description.
Also for example when I'm going to use Sidekiq, i won't need any statsd server since Sidekiq provide this feature already.
from activejob.
- Statsd is a simple protocol. statsite is a C impl and statsdaemon is a Go impl. Both Librato and Datadog, commercial stats SaaSs, support the statsd protocol out of the box. No Node.js, python, nginx or apache config required.
- I'm not suggesting it be mandatory - just pass something that quacks the
statsd-ruby
API and it'll activate, e.g.:
config.active_jobs.stats_reporter = MySQLStatsd.new
from activejob.
I agree with @seuros that this is better served in a separate gem. We don't ship any request statistics in ActionPack either. Not every app is going to run at such a level of operational efficiency that these stats are going to be meaningful.
We should, however, encourage the use of this gem in the README for AJ. So there's a clear, official answer to this. Just not included by default.
from activejob.
Related Issues (20)
- 4.2.0.rc2 NoMethodError Exception: undefined method `deliver_now' for #<Mail::Message:0xfbcfef8> HOT 1
- Can I stack resque gem with plugin resque-history and ActiveJob? HOT 1
- ActiveJob with multiple databases HOT 4
- adapter to Amazon Simple Workflow HOT 1
- Add a proper usage guide HOT 3
- [Feature request] Cancel jobs HOT 40
- Set the job_id attribute on ActiveJob to the value from the adapter HOT 1
- Add deep serialization HOT 1
- amqp, SQS, stomp, other messaging/queuing support? HOT 5
- Support multiple adapters, map adapters to queues HOT 25
- Add new inline-like built-in adapter to process it in a thread HOT 28
- MyJob.enqueue Syntax HOT 6
- Provide more solid default adapter HOT 40
- Are multiple queues even possible as written? HOT 3
- Girl_friday adapter? HOT 4
- Should we add a delayed mixin so users can delay any method? HOT 32
- delayed job adapter doesn't work properly with float timestamp
- resque job serialization fails under Rails
- Setting resque queue adapter fails HOT 12
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 activejob.