redhat-developer / redhat-developer/vscode-openshift-tools

Don't send generic "command" events

Open
#2,728 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

kind/enhancement priority/major telemetry
Dominant language
TypeScript
Stars
123
Forks
63
Avg merge
6h 16m
Merged PRs (30d)
74

Description

after discussing with @sonyccd, we should stop sending generic "command" events with an identifier property.

https://github.com/redhat-developer/vscode-openshift-tools/blob/d6f7b8ece5cf7409b75f223d4b19a977f4e218a8/src/telemetry.ts#L64

and use the commandId https://github.com/redhat-developer/vscode-openshift-tools/blob/d6f7b8ece5cf7409b75f223d4b19a977f4e218a8/src/telemetry.ts#L61

This'll make it easier to analyze behavior patterns on the backend

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in src/telemetry.ts at the referenced lines 61 and 64, and compare how commandId events and generic command events with an identifier property are sent. Update the telemetry behavior so generic command events are no longer sent, then verify that command actions use commandId events for backend analysis.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
devtools, observability-sre
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.