Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rearview::ResultsHandler:0x64e17c9c> firing event :error #36

Open
ananthkollipara opened this issue Apr 18, 2014 · 1 comment
Open

Rearview::ResultsHandler:0x64e17c9c> firing event :error #36

ananthkollipara opened this issue Apr 18, 2014 · 1 comment

Comments

@ananthkollipara
Copy link

Am seeing the data in graphite, but don't see the data in rearview. Below is the error log:
I, [2014-04-18T13:19:34.245000 #11876] INFO -- : #Rearview::ResultsHandler:0x64e17c9c firing event :error for #<Rearview::Job id: 5, created_at: "2014-04-18 11:28:31", updated_at: "2014-04-18 13:18:33", name: "my ABC monitor", active: true, last_run: "2014-04-18 13:19:34", cron_expr: "0 * * * * ?", status: "error", user_id: 1, alert_keys: [], deleted_at: nil, error_timeout: 60, next_run: nil, description: "test 123", app_id: 1, metrics: ["alias(servers.prod.abc, "abc")"], monitor_expr: "puts @timeseries\n\nabc = @a.values.sum\ngraph_value["...", minutes: 10, to_date: "now">

@ananthkollipara
Copy link
Author

Able to extract data via Graphite, but not via rearview....Please assist.

D, [2014-04-18T15:25:25.711000 #15473] DEBUG -- : #Rearview::MonitorTask:0x6aef8e87 run
D, [2014-04-18T15:25:25.712000 #15473] DEBUG -- : Rearview::MonitorRunner run
D, [2014-04-18T15:25:25.713000 #15473] DEBUG -- : Rearview::MonitorRunner fetch_data
D, [2014-04-18T15:25:25.714000 #15473] DEBUG -- : Rearview::MonitorRunner#create_from_to_dates minutes:60 to_date:
D, [2014-04-18T15:25:25.715000 #15473] DEBUG -- : Rearview::MonitorRunner#create_from_to_dates from:14:24_20140418 to:15:24_20140418
D, [2014-04-18T15:25:25.960000 #15473] DEBUG -- : ANANTH:::::params-- {"from"=>"14:24_20140418", "until"=>"15:24_20140418", "format"=>"raw", "target"=>["alias(servers.prod.abc, "abc")"]}
I, [2014-04-18T15:25:25.963000 #15473] INFO -- : #Rearview::ResultsHandler:0x21b56b0b run
====>{:status=>"error", :output=>nil, :graph_data=>nil}
I, [2014-04-18T15:25:25.964000 #15473] INFO -- : {:status=>"error", :output=>nil, :graph_data=>nil}
D, [2014-04-18T15:25:25.968000 #15473] DEBUG -- : Rearview::JobData Load (1.0ms) SELECT job_data.* FROM job_data WHERE job_data.job_id = 5 LIMIT 1
D, [2014-04-18T15:25:25.973000 #15473] DEBUG -- : SQL (1.0ms) UPDATE job_data SET data = '{"status":"error","output":null,"graph_data":null}', updated_at = '2014-04-18 15:25:25' WHERE job_data.id = 6
I, [2014-04-18T15:25:26.021000 #15473] INFO -- : #Rearview::ResultsHandler:0x21b56b0b firing event :error for #<Rearview::Job id: 5, created_at: "2014-04-18 11:28:31", updated_at: "2014-04-18 15:24:25", name: "my ABC monitor", active: true, last_run: "2014-04-18 15:25:26", cron_expr: "0 * * * * ?", status: "error", user_id: 1, alert_keys: [], deleted_at: nil, error_timeout: 60, next_run: nil, description: "test 123", app_id: 1, metrics: ["alias(servers.prod.abc, "abc")"], monitor_expr: "puts @timeseries\n\nabc = @a.values.sum\ngraph_value["...", minutes: 60, to_date: "now">

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant