Commit 4b2dd63
fix(agent): heartbeat URL built from base URL, not ingest path
Was appending /api/agent/heartbeat to the full ingest endpoint URL,
producing broken paths like /v1/metrics/ingest/api/agent/heartbeat.
Now parses scheme+netloc from endpoint to build the correct base URL.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent de2dd8a commit 4b2dd63
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
358 | 358 | | |
359 | 359 | | |
360 | 360 | | |
361 | | - | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
362 | 365 | | |
363 | 366 | | |
364 | 367 | | |
| |||
0 commit comments