Servicemon Analysis API¶
Analysis support¶
These classes are helpers for querying and plotting collected data.
servicemon.analysis.stat_queries Module¶
Classes¶
|
A helper class for querying a TAP service which has |
servicemon.analysis.basic_plotting Module¶
Functions¶
|
|
|
|
|
Create a Bokeh ColumnDataSource from an Astropy Table containing results from a navostats query. |
|
|
|
Create a Bokeh plot (Figure) of do_query_dur versus start_time. |
|
Create a Bokeh plot (Figure) of do_query_dur and stream_to_file_dur versus num_rows. |
|
Create a Bokeh plot (Figure) of do_query_dur and stream_to_file_dur versus download size. |
|
Experimental function to plot the different locations from which the performance queries were made as different shapes. |
|
Create a Bokeh plot (Figure) of do_query_dur and stream_to_file_dur versus num_rows. |
|
Create a Bokeh plot (Figure) of do_query_dur and stream_to_file_dur versus num_rows for each row, put the plot rows into a bokeh layout with title divs for each row, then return the layout. |
|
|
|
Get the list of all locations present in the data source. |
servicemon.analysis.plot_pages Module¶
Functions¶
|
Return HTML components to embed a Bokeh plot. |
|
Create an HTML page containing bokeh plots for a time interval’s worth of servicemon data for each of the service name/type pairs ( |
|
Helper function to create an HTML page containing bokeh plots for one week’s worth of servicemon data for all the services in the TAP DB. |
|
Create a Bokeh plot (Figure) of do_query_dur and stream_to_file_dur versus num_rows for each row, put the plot rows into a bokeh layout with title divs for each row, then return the layout. |
|
|
|
|
|
Return the datetime and time string for a time that is delta different than t. |