Skip to content
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

Merged
merged 2 commits into from
Oct 30, 2020
Merged

Telemetry improvements #1180

merged 2 commits into from
Oct 30, 2020

Conversation

nevalla
Copy link
Contributor

@nevalla nevalla commented Oct 30, 2020

No description provided.

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
@nevalla nevalla added enhancement New feature or request area/extension Something to related to the extension api labels Oct 30, 2020
@nevalla nevalla added this to the 4.0.0 milestone Oct 30, 2020
@@ -7,6 +7,7 @@ export default class TelemetryMainExtension extends LensMainExtension {
async onActivate() {
console.log("telemetry main extension activated")
tracker.start()
tracker.reportPeriodically()
Copy link
Contributor Author

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;
Copy link
Contributor Author

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

@nevalla nevalla requested a review from a team October 30, 2020 09:09
Copy link
Contributor

@ixrock ixrock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jakolehm jakolehm merged commit f126264 into master Oct 30, 2020
@jakolehm jakolehm deleted the telemetry-improvements branch October 30, 2020 14:10
@jakolehm jakolehm mentioned this pull request Nov 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/extension Something to related to the extension api enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants