Skip to content

Add native event telemetry, saved-view charts, and MCP queries - #2623

Draft
ejsmith wants to merge 8 commits into
mainfrom
feature/event-measurements
Draft

ejsmith wants to merge 8 commits into
mainfrom
feature/event-measurements

Conversation

@ejsmith

@ejsmith ejsmith commented Oct 2, 2026 •

Copy link
Copy Markdown
Member

Events can now carry named measurements, categorical labels, outcomes, detailed results, and parent/root references as native fields. Saved-view charts and MCP queries support histories for repeatable operations such as tests, benchmarks, jobs, and imports without custom-field configuration or new event types.

  • Index measurements as nested name/unit/double observations and labels as flattened keywords. Add scoped search, sort, aggregation, and same-project relationship navigation.
  • Add measurement discovery and configurable line/bar charts, with individual observations or time buckets, aggregation, series splitting, and drilldown. Preserve zeros, missing values, explicit resets, and saved-view defaults.
  • Align outcome with ECS (success, failure, unknown) and document UCUM/OTel units. Keep detailed statuses in native result. Only explicit failures qualify for regression when outcome/result is supplied; events with neither retain legacy behavior. Scope old-version failure discards to their version group.
  • Return native telemetry in MCP event summaries/details. Add get_event_measurements and get_event_chart, backed by the API's shared query service. Extend filter/sort discovery, measurement sorting and existence filters, outcome/result/label counts, pagination, and hierarchy investigation guidance. Preserve scope, retention, and chart plan access; expose incomplete-result warnings.
  • Add migration 10 for retained indexes, update OpenAPI/generated models, and document contracts, ECS/OTel mapping boundaries, MCP workflows, limits, and rollout in docs/event-telemetry.md.

Validation: 288 local MCP, assistant, chart API, and OpenAPI tests pass. Earlier telemetry/pipeline, serialization compatibility, focused Svelte tests, and npm run validate also pass. CI passes at e1dc52fff: all four backend shards, frontend validation/tests, all six E2E shards, coverage/report gates, and Docker builds.

Interactive browser verification remains outstanding: local Aspire Redis/storage resources remained in Starting, and the shared browser could not connect to the local Storybook endpoint. This PR remains a draft for that review.

Deploy the mapping migration before enabling producers. CI/benchmark reporters, SDK helpers, automatic flakiness/performance regression analysis, multiple widgets, first-class trace context/resource/typed attributes, and ECS/OTLP adapters are follow-up work. No production telemetry was submitted.

@ejsmith ejsmith changed the title Add native event measurements and configurable saved-view charts Add native event telemetry, saved-view charts, and MCP queries Oct 2, 2026
ejsmith and others added 2 commits October 12, 2026 22:41
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Individual-event chart mode fetched up to 1,000 complete event documents,
including error and request data it never used.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

Code Coverage

Package Line Rate Branch Rate Complexity Health
Exceptionless.AppHost 23% 23% 128 ❌
Exceptionless.Core 77% 69% 11227 ✔
Exceptionless.Insulation 51% 43% 370 ➖
Exceptionless.Web 86% 71% 9964 ✔
Summary 80% (29519 / 36712) 69% (14773 / 21296) 21689 ✔

Adopt main's # subpath imports with explicit extensions in the branch's
chart, measurement, and saved-view code.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
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