feat(observability): logs end-to-end (gateway + UI panel)#5379
Draft
Ma77Ball wants to merge 113 commits into
Draft
feat(observability): logs end-to-end (gateway + UI panel)#5379Ma77Ball wants to merge 113 commits into
Ma77Ball wants to merge 113 commits into
Conversation
…, SDK bootstrap (default-off) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…s panel 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 #5379 +/- ##
============================================
+ Coverage 53.86% 55.29% +1.43%
- Complexity 2756 3018 +262
============================================
Files 1099 1144 +45
Lines 42541 44603 +2062
Branches 4577 4924 +347
============================================
+ Hits 22916 24665 +1749
- Misses 18290 18469 +179
- Partials 1335 1469 +134
*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)
…e and shell (pr4)
loading spinner
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>
Contributor
Automated Reviewer SuggestionsBased on the
|
…ements - gateway LogsResource: resolve log user ids to display names via UserDao, and pull id-field autofill values from VictoriaLogs /field_values (those ids are record fields, not stream labels); adapt to the unbounded TimeWindow.validate signature - builders: fix the body filter to the correct `_msg:"..."` phrase form (contains_str is not valid LogsQL) - ResponseParsers: parseFieldValueLongs for the autofill values - dtos/observability.types: LogSourcesResponse.userNames - logs panel: user-name dropdown + 7-day default window Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
… obs/pr1/foundations
…o obs/pr2/backend-emit
…obs/pr3/deployment
… 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?
First complete signal: log search through the gateway plus a UI panel to drive it.
Backend:
parseLogs,parseLogSources), applying per-field redaction.LogsResourceexposing log search and the source-facets endpoint, registered inTexeraWebApplication.Frontend:
Any related issues, documentation, or discussions?
Closes: #5371
Part of #4070. Stacked on #5378.
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