Sha256: 3da34e01d7f8966befce8272eacad5adbf6a63dcbdc9cfdfcfe6345a881594c3

Contents?: true

Size: 1.71 KB

Versions: 1

Compression:

Stored size: 1.71 KB

Contents

<%#
  # WebROaR - Ruby Application Server - http://webroar.in/
  # Copyright (C) 2009  Goonj LLC
  #
  # This file is part of WebROaR.
  #
  # WebROaR is free software: you can redistribute it and/or modify
  # it under the terms of the GNU General Public License as published by
  # the Free Software Foundation, either version 3 of the License, or
  # (at your option) any later version.
  #
  # WebROaR is distributed in the hope that it will be useful,
  # but WITHOUT ANY WARRANTY; without even the implied warranty of
  # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  # GNU General Public License for more details.
  #
  # You should have received a copy of the GNU General Public License
  # along with WebROaR.  If not, see <http://www.gnu.org/licenses/>.
  #%>
<%= render :partial => 'query_date', :locals => {:graph_id => 2, :update_div => 'resource_usage_graph_app', :submit_action => 'resource_usage_graph_app'} %>

<%app_id = @app_id || 0 %>
<%=render :partial => 'javascript_partial', :locals => {:count => 'first', :start_hour => @start_hour, :end_hour => @end_hour, :app_id => app_id, :type => "app_cpu_usage_graph"}%>
<%=render :partial => 'javascript_partial', :locals => {:count => 'second', :start_hour => @start_hour, :end_hour => @end_hour, :app_id => app_id, :type => "app_memory_usage_graph"}%>
<div id = 'app_cpu_usage_graph'>
	<%=raw(@app_cpu_usage_graph)%>
</div>
<br/><br/><br>
<%=render :partial => 'slider_partial', :locals => {:count => 'first'}%>
<hr>	
<br/>
<%# this section is for Ploting memory Usage Graph for an application%>
<div id = 'app_memory_usage_graph'>
	<%=raw(@app_memory_usage_graph)%>
</div>
<br/><br/><br>
<%=render :partial => 'slider_partial', :locals => {:count => 'second'}%>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
webroar-0.7.0 src/admin_panel/app/views/graph/_get_resource_usage_data_app.html.erb