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

feat(cwl): Emit telemetry when starting and stopping liveTail sessions #6047

Open
wants to merge 1 commit into
base: feature/cwltail
Choose a base branch
from

Conversation

keeganirby
Copy link

Problem

Cloudwatch wants to monitor usage metrics of the LiveTail integration

Solution

When starting a session emit telemetry for:

  • Session already started (this case happens when session is already running, and customer sends a new command that matches the already running session)
  • Has LogEventFilter
  • LogStream filter type
  • Source of the command (command palette, explorer)

When closing a session:

  • Session duration
  • source of cancellation (ex: CodeLens, ClosingEditors)

License: I confirm that my contribution is made under the terms of the Apache 2.0 license.

@keeganirby keeganirby requested a review from a team as a code owner November 18, 2024 23:56
Copy link

  • This pull request implements a feat or fix, so it must include a changelog entry (unless the fix is for an unreleased feature). Review the changelog guidelines.
    • Note: beta or "experiment" features that have active users should announce fixes in the changelog.
    • If this is not a feature or fix, use an appropriate type from the title guidelines. For example, telemetry-only changes should use the telemetry type.

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