Commit Graph
4 Commits
Author SHA1 Message Date
Arun Babu Neelicattu 67927b4b74 feat(telemetry): configurable session ID ingestion and OpenInference tool-call capture (#3248)
* feat(telemetry): configurable and implicit session ID ingestion

Support ingesting session and client identifiers from configured headers
(telemetry.session.headers.id and telemetry.session.headers.client) and
built-in agent headers (x-opencode-session, x-session-id, mcp-session-id,
etc.) when omitted from request body. Emit standard session.id, user.id,
and gen_ai.conversation.id attributes with client namespacing.

* feat(telemetry): capture structured tool calls in LLM output messages

Extract tool calls across streaming SSE deltas and non-streaming chat
responses. Populate standard OpenInference (llm.output_messages.*.tool_calls)
span attributes, clamp attribute lengths to telemetry.max_attribute_length,
and serialize tool calls into output.value when content is empty so trace
viewers display tool invocations.
2026-08-20 23:55:21 +00:00
Arun Babu Neelicattu 379ef10d1d feat(server,cli): add discovery and broadcast controls with config decoupling (#3135)
* feat(server,cli): add discovery and broadcast controls with config decoupling

Add configuration and CLI controls to enable or disable server UDP beacon broadcasting (lemond --broadcast / --no-broadcast) and client auto-discovery (lemonade --discovery / --no-discovery). Broadcast state is configured via a new broadcast boolean key (defaulting to true) with backward-compatible normalization for no_broadcast. Transient CLI startup overrides are isolated in process memory to prevent leaking into persistent config.json on dynamic configuration updates.

* fix(server): add seamless legacy no_broadcast config migration and ctor normalization

* docs: sync generated backend configuration boilerplate

* fix(server): track effective broadcast state changes and expand migration tests

* fix(server): normalize legacy keys per source before defaults merge
2026-08-16 01:26:43 +00:00
Arun Babu Neelicattu 0915b85968 fix(cli): parse configuration values as JSON arrays and objects (#2816) 2026-07-26 06:15:08 +00:00
Arun Babu Neelicattu d6cdb9de0b feat(telemetry): add unified OTLP telemetry with OpenInference and OpenTelemetry GenAI support (#2330)
* feat(telemetry): add unified OTLP telemetry

Introduce a unified, lightweight, zero-dependency telemetry layer to
replace the legacy openinference namespace. Group OTLP transport
options under a nested otlp object, and replace the format string
with a semantics list (allowing multiple active tracing conventions).

This implementation:
1. Allows users to specify semantics: [openinference, otel_genai].
2. Collects and compiles trace attributes for OpenInference and
   OpenTelemetry GenAI in a single pass when both are active.
3. Integrates queue capacity, retry/backoff, and batch exporting.
4. Refactors code structure, C++ config unit tests, python integration
   tests, CLI commands, and markdown documentation.

* build: globally define NOMINMAX on Windows in CMake
2026-06-28 19:15:05 +00:00