driver/pipeline.py
def _db_level_monitor_driver_pipeline_for_on_prem(
    config: DriverConfig,
    compute_server_client: ComputeServerClient,
) -> None:
    """
    Regular monitoring pipeline that collects database level metrics and configs every minute

    Args:
        config: Driver configuration.
        compute_server_client: Client interacting with server in Ottertune.
    Raises:
        DriverException: Driver error.
        Exception: Other unknown exceptions that are not caught as DriverException.
    """
    logging.debug("Collecting db level observation data.")
    db_level_observation = collect_db_level_observation_for_on_prem(config)

    logging.debug("Posting db level observation data to the server.")
    compute_server_client.post_db_level_observation(db_level_observation)

    Regular monitoring pipeline that collects database level metrics and configs every minute

    Args:
        config: Driver configuration.
        compute_server_client: Client interacting with server in Ottertune.
    Raises:
        DriverException: Driver error.
        Exception: Other unknown exceptions that are not caught as DriverException.
    
Regular monitoring pipeline that collects database level metrics and configs every minute
Regular monitoring pipeline that collects database level metrics and configs every minute
def _db_level_monitor_driver_pipeline_for_on_prem(
    config: DriverConfig,
    compute_server_client: ComputeServerClient,
) -> None:
    logging.debug("Collecting db level observation data.")
    db_level_observation = collect_db_level_observation_for_on_prem(config)
    logging.debug("Posting db level observation data to the server.")
    compute_server_client.post_db_level_observation(db_level_observation)
def _db_level_monitor_driver_pipeline_for_on_prem ( config : DriverConfig , compute_server_client : ComputeServerClient , ) -> None : logging . debug ( "Collecting db level observation data." ) db_level_observation = collect_db_level_observation_for_on_prem ( config ) logging . debug ( "Posting db level observation data to the server." ) compute_server_client . post_db_level_observation ( db_level_observation )
Regular monitoring pipeline that collects database level metrics and configs every minute
Regular monitoring pipeline that collects database level metrics and configs every minute
"""
    Regular monitoring pipeline that collects database level metrics and configs every minute

    Args:
        config: Driver configuration.
        compute_server_client: Client interacting with server in Ottertune.
    Raises:
        DriverException: Driver error.
        Exception: Other unknown exceptions that are not caught as DriverException.
    """
None
DriverException
Other unknown exceptions that are not caught as DriverException.
Other unknown exceptions that are not caught as DriverException .
Exception
config
DriverConfig
None
compute_server_client
ComputeServerClient
Client interacting with server in Ottertune.
Client interacting with server in Ottertune .