mirror of
https://github.com/gotempsh/temps.git
synced 2026-04-24 22:06:00 +03:00
[PR #18] [MERGED] feat(otel): add OpenTelemetry ingest, query, and frontend traces UI #22
Labels
No labels
bug
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/temps#22
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/gotempsh/temps/pull/18
Author: @dviejokfs
Created: 2/26/2026
Status: ✅ Merged
Merged: 2/27/2026
Merged by: @dviejokfs
Base:
main← Head:feat/add-otel📝 Commits (10+)
ab6e9f5feat(otel): add OpenTelemetry support with new permissions and plugin integrationd9be36bfeat: update workspace and dependencies for new featurese9f08e4feat: enhance monitoring features and resource management63d5828feat(otel): add OpenTelemetry ingest, query, and frontend traces UIa5dbe11ci(otel): install protobuf-compiler in CI and document prerequisitesf188ad0feat(otel): add trace-level pagination with TraceSummary endpointdee9060style(otel): add mobile responsiveness to traces list and detail views14c2683feat(otel): add Traces to project command palette (Ctrl+K)c840c2afix(otel): resolve environment name from deployments table in trace summariesa205d76fix(otel): add horizontal overflow to span detail panel📊 Changes
64 files changed (+14429 additions, -48 deletions)
View changed files
📝
.github/workflows/rust-tests.yml(+16 -0)📝
CHANGELOG.md(+3 -0)📝
CLAUDE.md(+10 -0)📝
CONTRIBUTING.md(+31 -0)📝
Cargo.lock(+93 -1)📝
Cargo.toml(+1 -0)📝
crates/temps-auth/src/context.rs(+31 -2)📝
crates/temps-auth/src/deployment_token_service.rs(+10 -0)📝
crates/temps-auth/src/middleware.rs(+1 -0)📝
crates/temps-auth/src/permissions.rs(+15 -0)📝
crates/temps-auth/src/temps_middleware.rs(+1 -0)📝
crates/temps-cli/Cargo.toml(+1 -0)📝
crates/temps-cli/src/commands/serve/console.rs(+16 -0)📝
crates/temps-deployments/src/services/deployment_token_service.rs(+24 -1)📝
crates/temps-deployments/src/services/workflow_planner.rs(+49 -2)📝
crates/temps-entities/src/deployment_tokens.rs(+15 -0)➕
crates/temps-migrations/src/migration/m20260225_000001_create_otel_tables.rs(+634 -0)➕
crates/temps-migrations/src/migration/m20260226_000001_add_deployment_id_to_deployment_tokens.rs(+100 -0)📝
crates/temps-migrations/src/migration/mod.rs(+4 -0)➕
crates/temps-otel/Cargo.toml(+75 -0)...and 44 more files
📄 Description
Description
Add a complete OpenTelemetry observability stack to Temps — from OTLP/HTTP protobuf ingest through TimescaleDB storage to a frontend traces visualization UI.
Backend (
temps-otelcrate)tk_) and deployment tokens (dt_), with header-based and path-based ingest routestime_bucket, query logs, pipeline stats, health summaries, insightsAuth & Permissions
OtelRead/OtelWritepermissions addeddeployment_idadded to deployment tokens for full OTel context propagationFrontend
Notable fixes
Span.flagschanged fromuint32tofixed32per OTLP v1.1.0+ specTraceDetaildata extraction (data.datanotdata.spans)ERROR/OKfrom API)Type of change
Checklist
cargo test --lib)cargo check --libpasses with no warningsRelated issues
Ref #17
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.