Telemetry
Khala sends no telemetry to Renaiss. In BYOC and on-premise, what the platform emits goes to the systems you connect, in a standard format, and to nowhere else.
What Khala emits
Section titled “What Khala emits”| Signal | Content |
|---|---|
| Logs | One JSON line per API request: method, path, status, duration, request ID |
| Health | GET /health and GET /ready |
| Metrics | API request rate, latency and errors; builds by status and duration; gate results; sandbox pool usage; tokens and cost per build |
| Traces | One trace per API request and per build, with a span for each build step and each gate |
This is telemetry about the platform. What your agents do in production (runs, cost, latency, alerts) is in the panel. See Observe and govern.
Connecting your systems
Section titled “Connecting your systems”Khala exports metrics and traces with the OpenTelemetry protocol (OTLP). Any backend that accepts OTLP works, directly or through an OpenTelemetry Collector you run. That covers the monitoring services of the three clouds and the common observability platforms, so there is no Khala-specific agent to install.
Export is off until you set an endpoint. It is configured with the standard OpenTelemetry environment variables, on the API and on the build plane:
| Variable | Purpose |
|---|---|
OTEL_EXPORTER_OTLP_ENDPOINT |
Address of your collector or backend. Unset means nothing is exported |
OTEL_EXPORTER_OTLP_PROTOCOL |
grpc or http/protobuf |
OTEL_EXPORTER_OTLP_HEADERS |
Authentication headers for your backend. Provide them from your secret manager |
OTEL_SERVICE_NAME |
Name the service appears under |
OTEL_RESOURCE_ATTRIBUTES |
Labels of your own, such as the environment or the cluster |
OTEL_TRACES_SAMPLER, OTEL_TRACES_SAMPLER_ARG |
How many traces are kept |
For example, to send everything to a collector inside the cluster:
OTEL_EXPORTER_OTLP_ENDPOINT=http://otel-collector.observability.svc:4318OTEL_EXPORTER_OTLP_PROTOCOL=http/protobufOTEL_SERVICE_NAME=khala-apiOTEL_RESOURCE_ATTRIBUTES=deployment.environment=productionIf you scrape metrics with Prometheus, point the export at its OTLP receiver or at a collector that exposes them for scraping.
Logs are written to standard output, so the log agent you already run on the cluster collects
them without configuration in Khala. Send an X-Request-ID header and Khala reuses it, which
lets you follow one request from your gateway to the API. When traces are enabled, each log line
carries its trace ID.
What telemetry never contains
Section titled “What telemetry never contains”- Credentials, session tokens or sign-in codes.
- The content of specs, prompts, source code, test inputs or tool results.
- Run traces of your agents. They stay in the database, governed by your data policy.
Telemetry carries identifiers (organization, agent key, build number, request ID) and measurements. It is safe to send to a monitoring system with a wider audience than the panel.
By deployment modality
Section titled “By deployment modality”| SaaS | BYOC | On-premise | |
|---|---|---|---|
| Who monitors the platform | Renaiss | You, or Renaiss as well if you delegate operation | You |
| Where platform telemetry goes | Renaiss’ monitoring | The collector or monitoring service in your cloud account | The collector in your network. Works air-gapped |
| Logs | Kept by Renaiss | Your cloud’s logging service or your log platform | Your log platform |
| What you see without configuring anything | Runs, cost, latency and alerts of your agents, in the panel | The same, in the panel | The same, in the panel |
| Telemetry sent to Renaiss | Khala runs at Renaiss | None | None |