def default_enricher(alert: PrometheusKubernetesAlert, params: DefaultEnricherParams):
    """
    Enrich an alert with the original message and labels.

    By default, this enricher is last in the processing order, so it will be added to all alerts, that aren't silenced.
    """
    if alert.alert.generatorURL and params.alert_generator_link:
        alert.add_link(Link(url=alert.alert.generatorURL, name="View Graph", type=LinkType.PROMETHEUS_GENERATOR_URL))

    labels = alert.alert.labels
    alert.add_enrichment(
        [
            TableBlock(
                [[k, v] for (k, v) in labels.items()],
                ["label", "value"],
                table_format=TableBlockFormat.vertical,
                table_name="*Alert labels*",
            ),
        ],
        annotations={SlackAnnotations.ATTACHMENT: True},
        enrichment_type=EnrichmentType.alert_labels,
        title="Alert labels",
    )

    if not params.alert_annotations_enrichment:
        return

    annotations = alert.alert.annotations
    if not annotations:
        return

    alert.add_enrichment(
        [
            TableBlock(
                [[k, v] for (k, v) in annotations.items()],
                ["label", "value"],
                table_format=TableBlockFormat.vertical,
                table_name="*Alert annotations*",
            ),
        ],
        annotations={SlackAnnotations.ATTACHMENT: True},
        enrichment_type=EnrichmentType.alert_labels,
        title="Alert annotations",
    )

    Enrich an alert with the original message and labels.

    By default, this enricher is last in the processing order, so it will be added to all alerts, that aren't silenced.
    
playbooks/robusta_playbooks/alerts_integration.py