forked from farhoodlabs/paperclip
fix: use agent role for first heartbeat telemetry
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user