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: Add sample code for collecting data and sample outputs #309

Merged
merged 3 commits into from
Jul 11, 2024

Conversation

Czaki
Copy link
Contributor

@Czaki Czaki commented Dec 19, 2023

Description

Based on previous discussion, this PR contains sample code how we could collect data and how a report for telemetry could look.

@github-actions github-actions bot added the documentation Improvements or additions to documentation label Dec 19, 2023
@Czaki Czaki added this to the 0.5.0 milestone Dec 19, 2023
@Czaki Czaki changed the title Add sample code for collecting data and sample outputs Telemetry: Add sample code for collecting data and sample outputs Dec 27, 2023
Copy link
Contributor

@DragaDoncila DragaDoncila left a comment

Choose a reason for hiding this comment

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

Just left some suggestions for expanding the text a bit and a few nit comments. Thanks for the detailed sample @Czaki, I think having this info should make it much easier for folks to assess how they feel about the proposed level of telemetry.

docs/naps/8-telemetry.md Outdated Show resolved Hide resolved
data_collector = DataSizeTypeCollector.get_collector(
Path(appdirs.user_config_dir("napari")) / "data_size_info.json"
)
# app_model = get_app() - there is a need to add a collection of data to app_model
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not sure what you mean here or if it needs to be removed?

Copy link
Contributor

Choose a reason for hiding this comment

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

Ahh I think based on your comment below you mean we need to add a log option to app-model so that we can access a history of commands? Maybe just expand a bit on that.

docs/naps/8-telemetry.md Outdated Show resolved Hide resolved
Co-authored-by: Draga Doncila Pop <17995243+DragaDoncila@users.noreply.github.com>
@jni jni merged commit 95f3e61 into napari:main Jul 11, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants