mirror of
https://github.com/openobserve/openobserve.git
synced 2026-11-05 08:09:22 +00:00
## Summary - route Discovery and annotation queue endpoints to queriers so score lookups, item hydration, and review reads do not fall through to ingesters - make Discovery source_stream required at the API response boundary - cover Discovery, queue item detail, and review routing with regression tests The QueueItem remains reference-only. Workbench and enqueue validation derive source_stream from timestamp-bounded _llm_scores queries in the enterprise implementation. Depends on https://github.com/openobserve/o2-enterprise/pull/2423 ## Testing - 5 querier routing tests - Discovery response serialization test with the enterprise feature - 16 enterprise annotation queue tests - 14 enterprise Discovery tests
OpenObserve API crates
All API-facing crates live under this directory:
common: shared HTTP authentication, extractors, and transport types.grpc: gRPC services and server transport.http: HTTP routing, OpenAPI, middleware, and composition of the domain crates.ingest: telemetry ingestion APIs.management: control-plane APIs such as alerts, dashboards, users, organizations, streams, and platform/node status.pipelines: pipelines, functions, enrichment tables, and transformation configuration.search: search, PromQL, trace-query, and log-pattern extraction APIs.
The domain crates do not depend on one another. Shared HTTP concerns belong in common; shared
business logic belongs in openobserve-core or another non-API service crate. The http crate is
the composition root.