-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Telemetry improvements #1180
Telemetry improvements #1180
Conversation
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
@@ -7,6 +7,7 @@ export default class TelemetryMainExtension extends LensMainExtension { | |||
async onActivate() { | |||
console.log("telemetry main extension activated") | |||
tracker.start() | |||
tracker.reportPeriodically() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
previously reporting was done in both main and renderer processes, sending it from main processes only now.
@@ -5,13 +5,12 @@ export class NodesCountDetector extends BaseClusterDetector { | |||
key = ClusterMetadataKey.NODES_COUNT | |||
|
|||
public async detect() { | |||
if (!this.cluster.accessible) return null; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
prevent overriding data with null if cluster is not accessible
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
No description provided.