Closed marianogg9 closed 10 years ago
@cdgraff
what is _METRICS_UPDATEINTERVAL set to? see https://github.com/obfuscurity/descartes/blob/master/README.md for several environment variables that must be set.
Hi @damm METRICS_UPDATE_INTERVAL is not set:
Is this an error?? Thanks!
export METRICS_UPDATE_INTERVAL=5m and then try running foreman?
Thanks @damm, it's running now. I've edited the .env file and set the value to 5m. Now I'm getting an odd error: "Sinatra doesn’t know this ditty. Try this: get '/auth/' do "hello word" end" Any ideas? Thanks again!
Sounds related to https://github.com/obfuscurity/descartes/blob/master/config.ru#L25 maybe?
Great, that did the trick. And from one issue to another: i'm getting no graphs from graphite.
So, i'm following this method:
When I click on Import graph, in the inspect window there's a red "?query=*&format=treejson&contexts=1&path= graphite-web.cloud-turner.com.ar/browser/usergraph" and a canceled status.
Any ideas on how to debug this? Thanks.
Sounds like you got it in #154
Hi guys. I've run all the steps:
And I'm getting this:
[root@server descartes]# foreman start 20:40:14 web.1 | started with pid 7801 20:40:22 web.1 | /usr/local/rvm/gems/ruby-1.9.2-p320/gems/rufus-scheduler-2.0.17/lib/rufus/sc/rtime.rb:139:in'
20:40:22 web.1 | from /usr/local/rvm/gems/ruby-1.9.2-p320/gems/rack-1.4.1/lib/rack/builder.rb:51:in '
20:40:22 web.1 | from /usr/local/rvm/gems/ruby-1.9.2-p320/gems/rack-1.4.1/lib/rack/builder.rb:40:in '
20:40:23 web.1 | exited with code 1
20:40:23 system | sending SIGTERM to all processes
parse_time_string': cannot parse '' (ArgumentError) 20:40:22 web.1 | from /usr/local/rvm/gems/ruby-1.9.2-p320/gems/rufus-scheduler-2.0.17/lib/rufus/sc/jobs.rb:371:in
determine_frequency' 20:40:22 web.1 | from /usr/local/rvm/gems/ruby-1.9.2-p320/gems/rufus-scheduler-2.0.17/lib/rufus/sc/jobs.rb:351:ininitialize' 20:40:22 web.1 | from /usr/local/rvm/gems/ruby-1.9.2-p320/gems/rufus-scheduler-2.0.17/lib/rufus/sc/scheduler.rb:163:in
new' 20:40:22 web.1 | from /usr/local/rvm/gems/ruby-1.9.2-p320/gems/rufus-scheduler-2.0.17/lib/rufus/sc/scheduler.rb:163:inevery' 20:40:22 web.1 | from /opt/turner/shared/packages/descartes/config.ru:47:in
block ininstance_eval' 20:40:22 web.1 | from /usr/local/rvm/gems/ruby-1.9.2-p320/gems/rack-1.4.1/lib/rack/builder.rb:51:in
initialize' 20:40:22 web.1 | from /opt/turner/shared/packages/descartes/config.ru:1:innew' 20:40:22 web.1 | from /opt/turner/shared/packages/descartes/config.ru:1:in
eval' 20:40:22 web.1 | from /usr/local/rvm/gems/ruby-1.9.2-p320/gems/rack-1.4.1/lib/rack/builder.rb:40:in
parse_file' 20:40:22 web.1 | from /usr/local/rvm/gems/ruby-1.9.2-p320/gems/rack-1.4.1/lib/rack/server.rb:200:inapp' 20:40:22 web.1 | from /usr/local/rvm/gems/ruby-1.9.2-p320/gems/rack-1.4.1/lib/rack/server.rb:301:in
wrapped_app' 20:40:22 web.1 | from /usr/local/rvm/gems/ruby-1.9.2-p320/gems/rack-1.4.1/lib/rack/server.rb:252:instart' 20:40:22 web.1 | from /usr/local/rvm/gems/ruby-1.9.2-p320/gems/rack-1.4.1/lib/rack/server.rb:137:in
start' 20:40:22 web.1 | from /usr/local/rvm/gems/ruby-1.9.2-p320/gems/rack-1.4.1/bin/rackup:4:in<top (required)>' 20:40:22 web.1 | from /usr/local/rvm/gems/ruby-1.9.2-p320/bin/rackup:23:in
load' 20:40:22 web.1 | from /usr/local/rvm/gems/ruby-1.9.2-p320/bin/rackup:23:in<main>' 20:40:22 web.1 | from /usr/local/rvm/gems/ruby-1.9.2-p320/bin/ruby_executable_hooks:15:in
eval' 20:40:22 web.1 | from /usr/local/rvm/gems/ruby-1.9.2-p320/bin/ruby_executable_hooks:15:in `Any ideas?? Thanks a lot!