class_docstr: Uses a vector similarity metric to retrieve documents from the InMemoryDocumentStore.
  
  Needs to be connected to the InMemoryDocumentStore to run.
docstr: Data that is sent to Posthog for usage analytics.
code: def _get_telemetry_data(self) -> Dict[str, Any]:
      """
      Data that is sent to Posthog for usage analytics.
      """
      return {"document_store": type(self.document_store).__name__}
  
file_path: haystack/haystack/components/retrievers/in_memory/embedding_retriever.py
imports: from typing import Dict, List, Any, Optional
  from haystack import component, Document, default_to_dict, default_from_dict, DeserializationError
  from haystack.document_stores.in_memory import InMemoryDocumentStore
label_desc: Use image node_id 2 for calling the InMemoryEmbeddingRetriever obj's underlying member method code with example usage: obj._get_telemetry_data() and returns: dict