The GitHub Actions job "Backport Approval Check" on 
texera.git/gh-readonly-queue/main/pr-5376-2cf439868ba3f57c665dbab7bd2aa9e878580a07
 has succeeded.
Run started by GitHub user zuozhiw (triggered by zuozhiw).

Head commit for run:
d70fc72288884e255ddff7dfd84833174fa10dfe / Matthew B. <[email protected]>
feat(observability): backend metrics + tracing primitives (#5376)

### What changes were proposed in this PR?
Adds the libraries services use to emit metrics and distributed traces.
These stay dormant until the SDK is enabled in PR1.
- `TexeraMetrics`: metric instruments for workflow lifecycle and
throughput. The active-executions metric is modeled as an observable
gauge read from the live registry, correcting the phantom-active count a
manual up/down counter produced.
- `TexeraTracer` and `SpanAttrs`: helpers for creating spans and
attaching standardized attributes.
- `TraceparentValidator`: parses and validates W3C `traceparent` headers
for context propagation.
- Pure additions to the `Config` module; no behavior changes when
telemetry is disabled.
### Any related issues, documentation, or discussions?
Closes: #5368
Part of #4070. Stacked on #5375.
### How was this PR tested?
- Unit specs for the metrics, tracer, span-attribute, and
traceparent-validator classes.
- `sbt scalafmtCheckAll` passes; compile and tests run in this PR's CI.
### Was this PR authored or co-authored using generative AI tooling?
Co-authored with Claude Opus 4.8 in compliance with ASF

Report URL: https://github.com/apache/texera/actions/runs/40431879229

With regards,
GitHub Actions via GitBox

Reply via email to