Skip to Content
Upblit
AboutOpen SourceCommunityDeveloperContactPricing
Star on GitHub—Sign in
CTRL K
  • Introduction
    • AI Gateway Overview
    • Documents
    • Tenants
    • API Reference Overview
    • AI Gateway API
    • API Keys API
    • Applications API
    • Authentication
    • Ingest API (SDK)
    • Organizations API
    • Projects API
    • Telemetry API
    • Users API
    • Architecture Overview
    • Database Architecture
    • Multi-Tenancy
    • Security Model
    • Service Boundaries
    • Telemetry Pipeline
  • DeployX CLI
    • Contributing
    • Architecture Rules
    • Coding Guidelines
    • SDK Development
    • Dashboard Overview
    • AI Gateway
    • API Keys
    • Applications
    • Observability
    • Organizations
    • Profile
    • Projects
    • Quickstart
    • Authentication
    • Your First Project
    • Installation
    • Observability Overview
    • Structured Logs
    • Telemetry Flow
    • Distributed Traces
    • SDK Overview
    • Express SDK
    • Go SDK
    • Java SDK (Coming Soon)
    • Python SDK
    • React SDK (Coming Soon)
  • Introduction
    • AI Gateway Overview
    • Documents
    • Tenants
    • API Reference Overview
    • AI Gateway API
    • API Keys API
    • Applications API
    • Authentication
    • Ingest API (SDK)
    • Organizations API
    • Projects API
    • Telemetry API
    • Users API
    • Architecture Overview
    • Database Architecture
    • Multi-Tenancy
    • Security Model
    • Service Boundaries
    • Telemetry Pipeline
  • DeployX CLI
    • Contributing
    • Architecture Rules
    • Coding Guidelines
    • SDK Development
    • Dashboard Overview
    • AI Gateway
    • API Keys
    • Applications
    • Observability
    • Organizations
    • Profile
    • Projects
    • Quickstart
    • Authentication
    • Your First Project
    • Installation
    • Observability Overview
    • Structured Logs
    • Telemetry Flow
    • Distributed Traces
    • SDK Overview
    • Express SDK
    • Go SDK
    • Java SDK (Coming Soon)
    • Python SDK
    • React SDK (Coming Soon)

On This Page

  • Ingest Path
  • Query Path
  • MongoDB Collections
  • Buffering and Reliability
  • Known Gaps
ArchitectureTelemetry Pipeline

Telemetry Pipeline

Ingest Path

Instrumented App │ ├── SDK Middleware (every HTTP request) │ Creates traceId + rootSpanId │ Stores in async-local context │ ├── App code runs │ sdk.service() / sdk.call() → child spans pushed to buffer │ sdk.log() → log entries pushed to buffer │ ├── Response sent → root span pushed to buffer │ └── Every 30s: SDK flushes buffers POST /ingest/traces (x-api-key header) POST /ingest/logs (x-api-key header) │ ├── Backend validates API key → resolves applicationId + projectId └── Stores in MongoDB

Query Path

Dashboard └── GET /logs/project?id={projectId} │ ├── ProjectAccessService: verify user has access ├── TraceRepository.findByProjectId(projectId) └── Returns Trace[] with embedded spans

MongoDB Collections

CollectionPurposeKey Indexes
tracesDistributed trace spansprojectId, applicationId, traceId
logsStructured log entriesprojectId, applicationId, traceId, level
metricsApplication metrics (planned)TBD

Buffering and Reliability

  • Traces and logs are buffered separately in memory
  • Default flush interval: 30 seconds (configurable per SDK)
  • On transport failure: batch is re-queued at the front of the buffer — no data loss
  • fatal log level: flushed immediately, not buffered
  • On sdk.close(): remaining buffer is flushed before the background thread/goroutine stops

Known Gaps

GapImpact
No MongoDB indexes configuredSlow queries at scale
No TTL on telemetry collectionsUnbounded storage growth
No pagination on query endpointsLarge responses for active projects
No rate limiting on ingestStorage abuse possible
Ingest URL inconsistency across SDKsGo uses ingest.upblit.com, Python uses ingest.upblit.dev
Last updated on May 27, 2026
Service BoundariesDeployX CLI
Upblit

A student-built observability workbench for logs, traces, metrics, API keys, and AI-assisted incident notes.

OAuthAPI scopesTrace contextRetention notes

Product

  • Architecture
  • Dashboard preview
  • AI docs
  • Security
  • Pricing

Developers

  • Developer docs
  • API reference
  • Changelog
  • GitHub
  • Status

Company

  • Support
  • Contact
  • Docs
  • Dashboard
  • Sign in

Legal

  • Privacy Policy
  • Terms
  • Cookie Policy
  • Acceptable Use
  • Data Retention
  • Data Processing

Copyright 2026 Upblit. All rights reserved.

Built for telemetry review, API operations, and incident response.