aws / aws/aws-toolkit-vscode

telemetry: improve query/log interface

Open
#2,672 3 comments 0 reactions 0 assignees View on GitHub
feature-request telemetry
Dominant language
TypeScript
Stars
2k
Forks
807
Avg merge
10h 12m
Merged PRs (30d)
7

Description

followup to https://github.com/aws/aws-toolkit-vscode/pull/2650

## Problem

1. TelemetryService.findIter() is unstable
2. TelemetryLogger never flushes its items, and queries don't have a way to limit searches to time intervals

## Proposal

1. Eliminate either TelemetryService.findIter() or TelemetryLogger, or both (and add a stable query interface to TelemetryService)
2. add options to the telemetry logger so that components can "mark" a time they are interested in, or just flush (clear) the whole thing (then we don't need the "marker" concept). And/or add a way to query by a time range.

Contributor guide

Open the contributing guide

Research direction

Start by reading PR #2650 and the existing TelemetryService.findIter() and TelemetryLogger entry points. Compare their current query and flush behavior with the reported instability, missing flushes, and lack of time-range limits. Done requires a settled interface direction with behavior for querying, flushing or marking, and time-range limits.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
observability-sre
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.