mirror of
https://github.com/alkimake/paperclip.git
synced 2026-06-15 02:20:38 +09:00
fix: use agent role for first heartbeat telemetry
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
parent
daea94a2ed
commit
85e6371cb6
2 changed files with 36 additions and 3 deletions
|
|
@ -1832,7 +1832,7 @@ export function heartbeatService(db: Db) {
|
|||
|
||||
if (isFirstHeartbeat && updated) {
|
||||
const tc = getTelemetryClient();
|
||||
if (tc) trackAgentFirstHeartbeat(tc, { agentRole: updated.adapterType });
|
||||
if (tc) trackAgentFirstHeartbeat(tc, { agentRole: updated.role });
|
||||
}
|
||||
|
||||
if (updated) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue