register_backend
function linescope.backends.base.register_backend(name, factory)[source]
Register a collector factory without changing the rendering pipeline.
| Parameters |
Unique name selected by the API or CLI. Factory accepting |
Implement ProfilerBackend to register a custom collector. Its result uses RawBackendResult and RawLine records before LineScope normalizes measurements for reporting.