Comments (6)
First of all, sorry for my late answer. From fnordmetric v0.7.3 upwards you can do the following:
$ ruby my_fnordmetric_app.rb worker
from clip.
This seems to work fine when you have FnordMetric.standalone
. However, standalone does not appear to allow you to pass in options. Is there a recommended way to run it with something like
FnordMetric.embedded(
:redis_url => ENV['REDISTOGO_URL'] || "redis://localhost:6379",
:inbound_stream => ["0.0.0.0", "1337"]
)
And, any idea how best to set the inbound_stream port on heroku?
from clip.
hm, maybe you are looking for this?
FnordMetric.server_configuration = {
:redis_url => ENV['REDISTOGO_URL'] || "redis://localhost:6379",
:inbound_stream => ["0.0.0.0", "1337"]
}
FnordMetric.standalone
from clip.
Heroku won't allow to spawn a random port so this line
:inbound_stream => ["0.0.0.0", "1337"]
Will fail in Heroku.
Finally, thank you for your answer and your willingness to help, you're awesome.
from clip.
You can disable the inbound stream by passing:
FnordMetric.server_configuration = {
:redis_url => ENV['REDISTOGO_URL'] || "redis://localhost:6379",
:inbound_stream => false
}```
from clip.
I created a sample repo at https://github.com/fairchild/fnordystats. I think it can likely be done much cleaner than i have done there.
Seems when inbound_stream is set to false, i get errors like cant start FnordMetric::InboundStream. port in use?
from clip.
Related Issues (20)
- Binaries? HOT 9
- mysql_real_connect() failed: Access denied for user 'root'@'HOST HOT 2
- Support for views
- d
- SValues from mysql backend always created as strings
- Cannot import postgresql table
- Broken pipe? anything wrong?
- Fail to compile install chartsql on centos6.7 x64 HOT 2
- Fail to make and install in Centos 7
- Crashed when trying to start Fnordmetric Server
- Building with `make -j` can cause system crashes HOT 1
- Versioned Releases HOT 1
- Ubuntu - Installation process fails - cmake . HOT 2
- Build Failure with Apple Clang 10 HOT 3
- CLI syntax in getting started guide is wrong HOT 1
- Reason for "original Microsoft Arial" and workaround ?
- A SEGV fault was discovered in clip
- A SEGV fault was discovered in clip
- A SEGV fault was discovered in function clip
- CLIP-LANG.ORG is no longer available
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 clip.