count_events package#

Submodules#

count_events.count_events module#

class count_events.count_events.CountApp[source]#

Bases: ModelMonitoringApplicationBase

Model Monitoring Application that counts the number of events in the given time window.

do_tracking(monitoring_context: MonitoringApplicationContext) ModelMonitoringApplicationMetric[source]#

” he do_tracking method implementation for the CountApp class. It counts the number of events in the sample data-frame and logs the count.

Parameters:

monitoring_context – The monitoring application context. It includes the current window data as a pandas data-frame: monitoring_context.sample_df.

Module contents#