Skip to content
Search
DSL · Telemetry

memory_exporter

Definition

/**
 * Create a MemoryExporter.
 *
 * Unified exporter that stores logs, metrics, and spans in memory for direct access.
 * Useful for testing and inspection without serialization.
 *
 * @param null|int $maxEntriesPerSignal maximum entries retained per signal type; null keeps everything
 */
memory_exporter(?int $maxEntriesPerSignal) : MemoryExporter

Contributors

Built in the open.

Join us on GitHub
scroll back to top