create_weekly_plots

servicemon.analysis.plot_pages.create_weekly_plots(date_to_include=None)[source]

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. The week of data starts on Monday and includes date_to_include.

The created file will be stored in the directory htmlroot/stat_pages and will be called YYYY-MM-DD.html where YYYY-MM-DD indicate the Monday at the start of the week.

Parameters
date_to_includestr default=None

Date of the form YYYY-MM-DD to include in the week’s worth of stats. If None, the most recent full Monday through Sunday week will be used.

Returns
None