def oomkilled_container_graph_enricher(event: PodEvent, params: OOMGraphEnricherParams):
    """
    Get a graph of a specific resource for this pod. Note: "Disk" Resource is not supported.
    """
    pod = event.get_pod()
    if not pod:
        logging.error(f"cannot run pod_oom_killer_enricher on event with no pod: {event}")
        return
    oomkilled_container = pod_most_recent_oom_killed_container(pod)
    if not oomkilled_container:
        logging.error("Unable to find oomkilled container")
        return
    container_graph = get_oomkilled_graph(oomkilled_container, pod, params, metrics_legends_labels=["container"])
    event.add_enrichment([container_graph], enrichment_type=EnrichmentType.graph, title="Container Info")

    Get a graph of a specific resource for this pod. Note: "Disk" Resource is not supported.
    
playbooks/robusta_playbooks/oom_killer.py