forked from podman-desktop/podman-desktop
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: reduce unused telemetry events
As we've hit telemetry thresholds we disabled several events that were output extremely often but we either weren't using or had questionable value vs the load. This included the following events: - shellInContainer - containerInspect - loadExtension - kubernetesReadNamespacedPod With continued volume on each of these we will never re-enable as-is, and we should not continue sending them in (using up some minor bandwidth) if they will never be used. Instead of removing them entirely, this PR renames each event (so that we can track/filter it separately from the current event) and only sends it when there is a failure. These should be _far_ less frequent and we would still get information on where we have failures. Since the same pattern as kubernetesReadNamespacedPod is used for every Kubernetes object I applied it to all of them. We already track pages to know when someone looks at each kind of object so we don't need to track the underlying API call, and this keeps the code consistent. Fixes podman-desktop#4970. Signed-off-by: Tim deBoer <[email protected]>
- Loading branch information
1 parent
869c1c4
commit 938bbc9
Showing
4 changed files
with
13 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters