def hpa_mismatch_enricher(alert: PrometheusKubernetesAlert, params: HPAMismatchParams):
    """
    Notifies with the replica count events and potential fixes for an HPA.
    """
    hpa = alert.hpa
    if not hpa:
        logging.info(f"hpa_mismatch_enricher - no hpa on event: {alert}")
        return
    if params.check_for_metrics_server:
        metrics_server_message = get_missing_metrics_server_message()
        if metrics_server_message:
            alert.add_enrichment([MarkdownBlock(metrics_server_message)])
    replicas_block = MarkdownBlock(
        f"*Replicas: Desired ({hpa.status.desiredReplicas}) --> Running ({hpa.status.currentReplicas})*"
    )
    alert.add_enrichment([replicas_block])
    hpa_events_enricher(alert, params)

    Notifies with the replica count events and potential fixes for an HPA.
    
playbooks/robusta_playbooks/autoscaler.py