The probes panel
Click the HyperProbe icon in the Activity Bar to open the panel. The panel has two main views:- Actions list — shows all probes you have created, their current status, and live/pending indicators.
- Insert Action form — the form you use to create a new probe.
Inserting a new probe
Click the + button in the HyperProbe panel (or navigate to the insert form from within the panel) to open the Insert Action form.Select a probe type
Choose the type of probe you want to insert. The available types are:
| Type | What it does |
|---|---|
| Snapshot | Captures local variables, watch expressions, and the call stack at a line of code. |
| Log | Injects a log line with interpolated variable values without redeploying. |
| Counter | Counts the number of times a specific line is reached. |
| Tic & Toc | Measures elapsed time between two lines of code. |
| Custom Metric | Evaluates and reports any numeric expression continuously. |
Choose a source
Click Choose a source to open the source selector. Each source entry represents a unique combination of service, environment, and commit SHA — sourced from agents that are currently connected to the HyperProbe server.The selector displays each source as:Select the source that matches the running instance you want to probe. If no sources appear, confirm that your SDK agent is running and connected to the server, and that your
.hprc file contains the correct serviceId.Set the filename and line number
Enter the relative path to the source file (for example,
apps/api/src/handlers/users.ts) and the line number where the probe should fire. The extension uses these values to map the probe to the correct location in your source code.Fill in type-specific fields
Depending on the probe type, additional fields appear:
- Snapshot
- Log
- Counter / Tic & Toc / Custom Metric
- Hit limit — the maximum number of times the snapshot is captured before the probe auto-expires. Accepts values from 1 to 20.
- Lifetime — how long the probe stays active: An Hour or A Day.
- Watch expressions — one or more variable names or expressions to evaluate when the snapshot fires (for example,
user.idororder.items.length). Add multiple expressions using the + button.
Add a condition (optional)
The Condition field accepts any boolean expression written in your application’s language. The probe fires only when the expression evaluates to Leave the field empty to fire the probe unconditionally every time the line is reached.
true at runtime.Examples:Probe status
Each probe in the actions list displays a status label that reflects its current state:| Status | Meaning |
|---|---|
ACTIVE | The probe is registered and collecting data. |
INACTIVE | The probe is registered but paused. It does not fire until reactivated. |
EXPIRED | The probe’s lifetime has elapsed and it is no longer active. |
COMPLETED | The probe reached its hit limit and stopped collecting. |
ERROR | The probe encountered an error. Check the probe details for more information. |
ACTIVE, COMPLETED, and EXPIRED probes.
Live indicator
EachACTIVE probe shows a small indicator next to its filename and line number:
- Green filled circle — the probe is live. At least one connected agent has registered the probe and is ready to fire it.
- Orange outline circle — the probe is not yet live. It has been registered on the server but no agent has picked it up yet. This usually resolves within a few seconds once the agent syncs.
Toggling a probe active or inactive
Each probe in theACTIVE or INACTIVE state shows a checkbox in the actions list. Check the box to activate a paused probe, or uncheck it to deactivate a running one. The state change takes effect immediately without recreating the probe.
Editing a probe
Open the context menu for any probe (the... button on the right) and click View/Edit. The Insert Action form reopens with the probe’s current values pre-filled.
Deleting probes
To delete a single probe, open the context menu and click Delete. A confirmation dialog appears before the probe is removed. To delete all visible probes at once, click the trash icon in the actions list header. The deletion applies to all probes currently shown (respecting any active status filter).Viewing captured data
Click any probe in the actions list to open the Snapshot Inspector (for Snapshot and Log probes). The inspector shows:- Metadata — the source service, probe ID, hit limit, condition, and status. Click Show more to expand the full details.
- Hit pagination — navigate between individual captures using the arrow buttons. The hit counter shows which capture you are viewing out of the total collected so far.
- Watch expressions — the values of any expressions you specified when creating the probe, displayed as an expandable tree.
- Variables — all local variables captured at the probe’s line of code, organized by scope and browsable as an expandable tree.
- Call stack — the full call stack at the moment of capture. Click any frame to inspect the variables in that scope.
