Skip to content

Add possibility to mount FnordMetric via Rails routes #60

Open
kirs opened this Issue Feb 20, 2012 · 6 comments

6 participants

@kirs
kirs commented Feb 20, 2012

In resque, there is a feature of mounting Sinatra app directly to Rails routes.

mount Resque::Server.new, :at => "/resque"

In my opinion, it's very useful and it will be possible to mount FnordMetric web frontend to Rails app with one line.

@paulasmuth, if you agree with me, I will implement this feature in pull request.

@paulasmuth
Owner

Hey Kir, I think the feature you are looking for was already implemented by fd in issue #5 (FnordMetric.embed) - Is this what you wanted?

@kirs
kirs commented Mar 16, 2012

Exactly, thanks! I think that it will be useful to mention it in Readme...

@houen
houen commented Sep 5, 2012

So I'm completely new to this. Can anyone post the code that needs to go into my routes file in order to mount this? I'll write a wiki post about it if someone points me in the right direction :)

@aleks
aleks commented Sep 12, 2012

Am i right that this Feature isn't working anymore due to the removal of FnordMetric.embedded?

@cj
cj commented Apr 10, 2013

I would love to know this too :)

@skorfmann

It's not possible out of the box. You could try to extract the relevant parts from this file into you custom "embeddable" version. You would still need to run the workers (and acceptors if needed) separately.

Another approach could be, to build a custom interface with Fnordmetric UI

These are just ideas, haven't tried any of them :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.