get_stage_profiling
Retrieve per-stage callback wall-clock timings for records matching a key in a running AimDB instance, highlighting the slowest stage to identify bottlenecks. Requires profiling enabled.
Instructions
Get automatic stage profiling (per-.source()/.tap()/.link() callback wall-clock timing) for records matching a key from a running AimDB instance, including the slowest stage ('bottleneck'). Requires the instance to be built with the profiling feature.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endpoint | No | Endpoint URL (unix://PATH, serial://DEVICE?baud=N) or a bare path. Falls back to AIMDB_CONNECT env var if omitted. | |
| record_key | Yes | Substring to match against record names/keys (e.g., 'Temperature') |