feat(observability): query gateway core + dashboard shell#5378
Draft
Ma77Ball wants to merge 88 commits into
Draft
feat(observability): query gateway core + dashboard shell#5378Ma77Ball wants to merge 88 commits into
Ma77Ball wants to merge 88 commits into
Conversation
…, SDK bootstrap (default-off) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…nt scope, health, routing) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…ca/eBPF profiling Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…tracing primitives Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #5378 +/- ##
============================================
+ Coverage 53.86% 55.17% +1.31%
- Complexity 2756 3017 +261
============================================
Files 1099 1140 +41
Lines 42541 44114 +1573
Branches 4577 4819 +242
============================================
+ Hits 22916 24342 +1426
- Misses 18290 18326 +36
- Partials 1335 1446 +111
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
…e and shell (pr4)
Call OtelInit.init(<service.name>) in each service main so its logs bridge to the OTel collector under its own service.name; cap noisy framework loggers (pekko/iceberg/hadoop/kafka/jetty/jersey/grpc/ netty/hikari/awssdk) at WARN in each service config. Services: access-control, config, file, computing-unit-managing, workflow-compiling, computing-unit-master, texera-web, amber. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…e span - WorkflowMetricsRecorder: emit workflow lifecycle metrics keyed by execution, driven from the ExecutionStateStore state-transition chokepoint; registered via WorkflowMetricsRecorder.init() in ComputingUnitMaster - WorkflowService: wrap initExecutionService in a run-level TexeraTracer span so setup-path logs carry the trace id Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
- bin/observability/docker-compose.yml: collector + parca-agent stack - bin/single-node/docker-compose.yml: mount the otel-collector and parca configs and run the parca-agent sidecar Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
- dtos: drop the per-signal Signal/maxWindowSeconds enum and the upper bound on TimeWindow.validate -- DB-backed counts have no retention limit and the backends just return what they retain; BadTimeWindow becomes a plain value (only empty/inverted windows are rejected) - DtoValidationSpec: cover the new unbounded-window behavior - UI shell: observability route + dashboard navigation entry Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
… obs/pr1/foundations
…o obs/pr2/backend-emit
…obs/pr3/deployment
Contributor
Automated Reviewer SuggestionsBased on the
|
… obs/pr2/backend-emit
…o obs/pr3/deployment
…obs/pr4/gateway-core
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes were proposed in this PR?
Introduces the tenant-scoped read path the dashboard queries, plus the Angular shell that hosts the per-signal panels. This PR warrants the closest review: it enforces tenancy and rate limiting and is the first user-visible surface.
Backend:
BackendClient: HTTP client to the telemetry backends.ScopeResolver: derives the caller's tenant scope and constrains every query to it.RateLimiter,AuditLogger,GatewayContext: per-request rate limiting, audit logging, and shared request context.dtos.scala: typed request objects with validators (time window, page size, free text, service name).ObservabilityResourceswith the/observability/healthendpoint, registered inTexeraWebApplication.RequestContextMdcFilterandUserContextMdcFilter: inject request and user context into the logging MDC.ObservabilityGatewayConfigand its configuration file.Frontend:
observability.service,observability.types, and thetraces-pivot.service.Any related issues, documentation, or discussions?
Closes: #5370
Part of #4070. Stacked on #5377.
How was this PR tested?
sbt scalafmtCheckAllpasses.prettier-eslintandeslintpass.Was this PR authored or co-authored using generative AI tooling?
Co-authored with Claude Opus 4.8 in compliance with ASF