def node_graph_enricher(node_event: NodeEvent, params: ResourceGraphEnricherParams):
    """
    Get a graph of a specific resource for this node.
    """
    node = node_event.get_node()
    graph_enrichment = create_node_graph_enrichment(params, node, metrics_legends_labels=["instance", "node"])
    node_event.add_enrichment([graph_enrichment], enrichment_type=EnrichmentType.graph, title="Node Resources")

    Get a graph of a specific resource for this node.
    
playbooks/robusta_playbooks/node_enrichments.py