native_observability
๐ Overview
Native Observability brings real observability into Drupal.
Trace requests, inspect execution, analyze performance, and explore runtime behavior โ directly inside your application.
No core patches. No external dependencies required to get started.
Just install, enable, and start seeing what actually happens inside your system.
โจ What you get
- ๐ Request tracing with correlation IDs
- ๐งฉ Execution spans with timeline visualization
- ๐ External HTTP (Guzzle) tracing
- ๐ Performance metrics (latency, throughput, P95/P99)
- ๐ Dashboard with cache, database, and runtime insights
- ๐ Structured reports (printable HTML)
- ๐ก Telemetry export (OpenTelemetry, Prometheus, Elastic)
๐ Recent improvements
- ๐งญ Preserved dashboard time range across navigation
- ๐ Restored external Guzzle HTTP request visibility
- ๐งน Improved database observer (hidden orphan traces)
๐ง How it works
- A request enters Drupal
- A unique request ID is assigned
- Execution is traced and stored
- Spans capture internal operations
- Metrics are aggregated
- Data is visualized in dashboard and reports
This lets you understand:
- โ what happened
- โ how long it took
- โ where time was spent
- โ which services or queries slowed things down
๐ Dashboard
Explore performance and behavior through a built-in dashboard:
- ๐ Latency, throughput, and error rate
- ๐ Database and cache observability
- ๐ External request analysis
- ๐ Charts powered by Apache ECharts
๐งฑ Modules
- native_observability โ tracing core
- native_observability_execution โ execution monitoring
- native_observability_spans โ span structure
- native_observability_metrics โ performance analytics
- native_observability_dashboard โ UI dashboard
- native_observability_report โ reporting
- native_observability_otel โ telemetry export
๐ Requirements
Dashboard and reports use Apache ECharts for chart rendering.
"merge-plugin": { "include": [ "[Module_ROOT_PATH]/native_observability/modules/native_observability_dashboard/composer.libraries.json" ] }
๐ฅ Why it matters
Logs tell you what happened.
Observability shows you why.
Native Observability gives Drupal real runtime visibility โ without changing how your application works.
โ Performance
Approximate overhead: ~10% when full tracing is enabled.
๐ Status
Stable 1.0.5 release.
Actively maintained and evolving.