Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Add possibility to mount FnordMetric via Rails routes #60

Open
kirs opened this Issue · 6 comments

6 participants

@kirs

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

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

@houen

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

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

@cj
cj commented

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.