E2E coverage for the trace search RED metrics view
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Anfängerfreundlichkeit
- 70/100
- Issue-Typ
- Feature
- Klarheit
- Klar beschrieben
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- clickhouse, react, typescript
- Bereich
- frontend, observability, testing
Rechercherichtung
Start by examining the existing e2e test for the histogram in packages/app/tests/e2e/features/search/search.spec.ts. The fixtures already seed an E2E Traces source. First, add data-testid props to the RED tiles in the trace search view, likely in the component that renders ChartCard. Then write a new spec that uses searchPage.selectSource(DEFAULT_TRACES_SOURCE_NAME) to switch to the trace source and verify the RED tiles appear. Test the Errors tile toggle, the RED/Heatmap switch persistence in the URL, and that clicking a status series filters results. Run the e2e tests to confirm the new view works as expected.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Context
PR #2826 replaces the single count histogram on trace search results with RED metrics (Throughput, Errors, Duration) and adds a RED/Heatmap switch. The aggregation builders and the chart color pipeline are unit tested, but nothing drives the view end to end.
The existing search e2e specs cover the histogram on a Logs source (Histogram drag-to-zoom preserves custom SELECT columns in packages/app/tests/e2e/features/search/search.spec.ts), and that path is unchanged: the RED view only renders for trace sources. So the new view currently has no e2e coverage.
What to cover
The e2e fixtures already seed an E2E Traces source and several specs switch to it via searchPage.selectSource(DEFAULT_TRACES_SOURCE_NAME), so this should fit the existing page-object pattern:
- Selecting a trace source renders the three RED tiles; a Logs source still renders the single histogram.
- The Errors tile switches between Rate and Volume.
- The RED/Heatmap switch swaps the area for the duration heatmap, and the mode survives a reload (it is stored in the URL as
traceChartMode). - Clicking a status series on the Errors volume chart filters the results.
Notes
The RED tiles render through ChartCard, which already accepts a data-testid, but the trace search tiles do not pass one today. Adding stable test ids for the three tiles is probably the first step so the spec does not have to match on visible title text.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 10.1k
- Forks
- 527
- Ø Merge
- 1 T. 20 Std.
- Gemergte PRs (30 T.)
- 186
Entwicklungsumgebung
- Enthält ein Dockerfile oder eine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus ClickHouse/ClickStack
-
external
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
ClickHouse/ClickStack#3761 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Metric chart with aggFn increase and a multi-column group-by fails: toString() gets several argumentsEvtl. vergeben @CG-5228 hat das vor 26 Tagen übernommen. Offenexternal
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
ClickHouse/ClickStack#3477 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Slack notifications for inline alerts fail when the chart-explorer link passes Slack's 3000-character block limitEvtl. vergeben @Tyagiquamar hat das vor 27 Tagen übernommen. Offenalerting bug external
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
ClickHouse/ClickStack#3452 ·
Maintainer antworten meist innerhalb von 1 Tag
-
check-alerts worker: 13 error spans (mongodb.create, NamespaceExists) every minute because mongoose autoCreate is still onEvtl. wieder frei Ein Pull Request dazu wurde ohne Merge geschlossen. Offenbug external Needs Feedback
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
ClickHouse/ClickStack#3308 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
count_distinct aggFn on metric tiles ignores valueExpression, always counts distinct metric ValuesEvtl. vergeben @Harshul1484 hat das vor 54 Tagen übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
ClickHouse/ClickStack#2311 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in ClickHouse/ClickStack
Ähnliche Issues
-
Add: GTrekkerOffencheck:passed streams:add
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 72/100
Maintainer antworten meist innerhalb von 1 Tag
-
area: ui Bug Payload OSS
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 88/100
payloadcms/payload#19839 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 85/100
Maintainer antworten meist innerhalb von 1 Tag
-
fix(auth): add the email OTP verification step to Pollar loginEvtl. vergeben @akansnoro hat das heute übernommen. OffenStellar Wave
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 74/100
safetrustcr/dApp-SafeTrust#584 · 10 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
The manager preset saves launch definitions without the required file and digest pairEvtl. vergeben Ein verknüpfter Pull Request ist offen oder bereits gemergt. Offenbug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 80/100
Maintainer antworten meist innerhalb von 1 Tag