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

client, server: record basic telemetry events #143

Merged
merged 14 commits into from
Jan 24, 2025
Merged

Conversation

samcowger
Copy link
Contributor

In furtherance of #125, this implements generation and serialization of timestamped telemetry events for several key points in the server/verification lifecycle, mentioned in that issue:

  • Server startup
  • Server shutdown
  • File open
  • File close
  • Beginning of verification attempt
  • End of verification, including outcome

It also updates the client to allow a user to choose whether to collect and where to store telemetry. This collection is disabled by default.

This leaves some aspects of #125 unimplemented:

  1. Generation/collection and serialization of user profile information (e.g. user identifiers, expertise levels)
  2. Recording telemetry on {re,}configuration of client/server preferences
  3. Determining and ascribing task identifiers to telemetry events

There are no technical blockers to implementing (1) and (2), and they're next on my list. I think there are also no technical blockers for (3), but I don't yet know how, abstractly, we want to define a task. (@kschleisman, I'm hoping we can cover this when you're in town next week.)

@samcowger samcowger requested a review from thatplguy January 21, 2025 22:53
@samcowger samcowger self-assigned this Jan 21, 2025
@samcowger samcowger force-pushed the sc/cn-lsp-telemetry branch 2 times, most recently from e8233fc to 15123dd Compare January 22, 2025 00:57
samcowger added a commit that referenced this pull request Jan 22, 2025
I've run into trouble with multiple configurations in #143, since that
introduces dependencies between these local packages. This approach seems to
solve those problems, and I think it's somewhat more idiomatic anyway.
@samcowger samcowger force-pushed the sc/cn-lsp-telemetry branch from 54cadb1 to 78c4819 Compare January 22, 2025 16:27
@samcowger samcowger force-pushed the sc/cn-lsp-telemetry branch from 78c4819 to bfdb707 Compare January 22, 2025 16:33
@samcowger samcowger merged commit 3f66ea6 into main Jan 24, 2025
2 checks passed
@samcowger samcowger deleted the sc/cn-lsp-telemetry branch January 24, 2025 17:43
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

Successfully merging this pull request may close these issues.

1 participant