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

No telemetry files after enabling option "Telemetry Code Snippets" #31

Open
hazratisulton opened this issue Feb 15, 2024 · 6 comments
Open

Comments

@hazratisulton
Copy link

Enable option "Telemetry Code Snippets", then use completion. After closing IDE there is no telemetry files in user/.cache/refact/telemetry/

Versions:
Refact plugin: v 0.0.2
Microsoft Visual Studio Community 2022 (64-bit) - Current Version 17.9.0

@olegklimov
Copy link
Contributor

Hm, probably something super simple. We just need /snippet-accepted/ to robot-human score to work. Network telemetry should work even without robot-human, it's strange that it isn't.

@digital-phoenix
Copy link
Contributor

@olegklimov can you clarify what the plugin needs to provide the server in order for network telemetry to work?

@olegklimov
Copy link
Contributor

We need /snippet-accepted/ when the user accepts the grey text. The rest of it should just work, the same way as it works for other plugins. I didn't look into any details about this, I don't know why there are no files user/.cache/refact/telemetry/ , sure there should be.

Ah wait, there is --basic-telemetry flag, maybe that will help.

@olegklimov
Copy link
Contributor

And --enduser-client-version, that has format "PLUGIN_VERSION/IDE_VERSION", for example "refact-2.0.119/vscode-1.87.0-insider"

@olegklimov
Copy link
Contributor

(for sublime too)

@guptadeepak8
Copy link

hey @olegklimov there is file user/.cache/refact/telemetry/

We need /snippet-accepted/ when the user accepts the grey text. The rest of it should just work, the same way as it works for other plugins. I didn't look into any details about this, I don't know why there are no files user/.cache/refact/telemetry/ , sure there should be.

Ah wait, there is --basic-telemetry flag, maybe that will help.

do we need to add this flag? like

args += "--enduser-client-version " + GetClientVersion() + " ";

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants