create_service_plots

servicemon.analysis.basic_plotting.create_service_plots(stat_queries, services, start_time=None, end_time=None, htmlfile=None, title=None)[source]

Create a Bokeh plot (Figure) of do_query_dur and stream_to_file_dur versus num_rows. num_rows is the number of result rows from the query.

Parameters
stat_queriesservicemon.analysis.stat_queriesStatQueries

A StatQueries object which will perform the navostats queries.

servicesList of tuples

Each tuple should be a doubleton indicating a (base_name, service_type) that should be queried and plotted.

start_timestr

The beginning of a time window bounding the query. Format is ‘%Y-%m-%d %H:%M:%S.%f’. Least significant part can be omitted as the comparisons done are just alphabetic.

end_timestr

The end of a time window bounding the query. Format is ‘%Y-%m-%d %H:%M:%S.%f’. Least significant part can be omitted as the comparisons done are just alphabetic.

htmlfilestr

The name of the output html file. Specify None if notebook output is desired.

titlestr

The title given to the output html page. Ignored if htmlfile is None.

Returns
None