Skip to content

Commit

Permalink
Send connectivity logs to scuba
Browse files Browse the repository at this point in the history
Summary:
^

A dashboard to display the logs from a user session will be built next.

Reviewed By: antonk52

Differential Revision: D47944634

fbshipit-source-id: fb9e53981de5abb401c93c47cdec68f72c944b94
  • Loading branch information
lblasa authored and facebook-github-bot committed Aug 1, 2023
1 parent 830ac6e commit 430a42e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions desktop/flipper-server-core/src/recorder.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import {
ClientQuery,
ConnectionRecordEntry,
CommandRecordEntry,
getLogger,
} from 'flipper-common';
import {FlipperServerImpl} from './FlipperServerImpl';

Expand Down Expand Up @@ -84,6 +85,7 @@ class Recorder {
};

this.flipperServer_.emit('connectivity-troubleshoot-log', entry);
getLogger().track('usage', 'connectivity-log', entry);
}
};

Expand Down

0 comments on commit 430a42e

Please sign in to comment.