iii-observability
Qué hace
Añade trazado, registros y métricas basados en OpenTelemetry a un sistema iii, y te permite buscar la telemetría almacenada. Es para desarrolladores que necesitan ver lo que hace su sistema y recibir alertas cuando hay problemas.
Cuándo usarla
- ✓Cuando quieres seguir una petición mientras pasa por varios workers.
- ✓Cuando necesitas buscar registros o trazas recientes del motor.
- ✓Cuando quieres una alerta o una vista muestreada del comportamiento del sistema.
Link de la skill
https://github.com/iii-hq/iii/blob/main/engine/src/workers/observability/skills/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“Activa el trazado en mi motor iii y muéstrame las peticiones recientes más lentas.”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
El worker recoge trazas, registros y métricas a través de las propias funciones del motor. Puede enviarlos a un recolector de OpenTelemetry, y también puede guardar un historial breve en memoria para consultas rápidas. Cada registro nuevo también puede activar una función.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de GitHub.
iii-observability
The iii-observability worker provides OpenTelemetry-backed observability for the iii engine:
distributed tracing, structured logs, metrics with rollups, alert rules, sampling configuration, and
baggage propagation. Every surface is a callable engine::* function, plus a single log reactive
trigger that fires on every ingested log entry. Functions span nine sub-namespaces — emit, query
stored telemetry, inspect configuration, and propagate context.
The worker is on by default (enabled: true). When disabled, the emit and read functions still
register but become no-ops and the trigger never fires. Core config:
service_name/service_version/service_namespace (OTel resource attributes), exporter
(memory | otlp | both), endpoint (OTLP collector URL, default http://localhost:4317),
sampling_ratio (0.0–1.0), memory_max_spans, and per-pillar toggles/limits
(metrics_enabled, logs_enabled, retention and count caps). Most fields accept OTEL_* env
overrides. The in-memory query functions (logs, traces) require the memory or both exporter.
Traces and metrics use OTLP/gRPC by default; https:// endpoints enable TLS and http:// endpoints
use cleartext. Set OTEL_EXPORTER_OTLP_PROTOCOL=http/protobuf to use OTLP/HTTP protobuf for traces
and metrics, or use OTEL_EXPORTER_OTLP_TRACES_PROTOCOL / OTEL_EXPORTER_OTLP_METRICS_PROTOCOL for
signal-specific overrides. The HTTP/protobuf path is appended automatically (/v1/traces,
/v1/metrics) when the configured endpoint is a base collector URL. Logs export over OTLP/HTTP to
/v1/logs.
Use OTEL_EXPORTER_OTLP_HEADERS for collector headers and the signal-specific
OTEL_EXPORTER_OTLP_TRACES_HEADERS, OTEL_EXPORTER_OTLP_METRICS_HEADERS, or
OTEL_EXPORTER_OTLP_LOGS_HEADERS when needed. The logs exporter reads
OTEL_EXPORTER_OTLP_LOGS_HEADERS first and falls back to OTEL_EXPORTER_OTLP_HEADERS. Keep
credentials in environment variables or a secret manager, not in config files.
When to Use
- Emit structured logs or read back stored logs/spans/metrics from inside a function instead of shelling out to a collector.
- React in real time to log entries (page on errors, archive everything) without polling.
- Inspect engine health, active sampling rules, or alert state operationally.
- Propagate OpenTelemetry baggage across calls for cross-cutting context.
Boundaries
engine::baggage::setdoes not propagate back to the caller — baggage propagation happens at the SDK/invocation level via headers.- The in-memory query functions return nothing useful unless the
memory(orboth) exporter is configured; withotlp-only the data lives in your collector. - When
logs_enabledis off the log pipeline is dormant and thelogtrigger never fires; the ingestlevelsets the minimum severity stored. - This worker observes telemetry — it is not a general event bus (
pubsub) or durable queue (queue); those are standalone Compose workers.
Functions
engine::log::info,engine::log::warn,engine::log::error,engine::log::debug,engine::log::trace— emit a log entry at the named severity; same input shape, only the level differs.engine::logs::list— read stored OTel logs, filtered by time, trace correlation, or severity.engine::logs::clear— wipe the in-memory log store.engine::traces::list— list compact trace summaries with aggregate status/counts and optional attribute projection.engine::traces::spans— list full span records for detail/timeline consumers.engine::traces::tree— walk a single trace as a parent/child tree.engine::traces::group_by— aggregate stored spans by an attribute value (counts, duration, errors per group).engine::traces::clear— wipe stored spans.engine::metrics::list— list metrics with aggregated stats and optional time bucketing.engine::rollups::list— list metric rollup aggregations across 1-minute, 5-minute, and 1-hour windows.engine::baggage::get,engine::baggage::get_all— read one or all OpenTelemetry baggage keys.engine::baggage::set— set a baggage key locally (does not propagate to the caller).engine::sampling::rules— list the active sampling rules.engine::health::check— return engine health (status, per-component breakdown, version).engine::alerts::list— inspect configured alert rules and current state.engine::alerts::evaluate— manually run an alert evaluation pas
Preguntas frecuentes
¿Está activado por defecto?
Sí. Está habilitado por defecto y se puede desactivar en la configuración.
¿Adónde se pueden enviar los datos?
Puede enviar la telemetría a un recolector de OpenTelemetry por gRPC o HTTP, o conservarla en memoria.
¿Necesito el exportador de memoria para buscar?
Sí. Buscar en los registros y trazas guardados requiere la opción de exportador de memoria o de ambos.
Detalles
Descripción original del autor
OpenTelemetry-backed tracing, structured logs, metrics with rollups, alerts, sampling, and baggage for the engine — emit and query telemetry through `engine::*` functions and react to logs with a `log` trigger.
repo: iii-hq/iii
Popularidad
- Estrellas en GitHub
- 19 mil
- Posición en el ranking
- #10488
- Licencia
- —
- Actualizada
- 2/11/2026
Comentarios
- …
Más skills de este repositorio
iii-sandbox
19 milAyuda a tu agente a ejecutar código no fiable o generado por IA de forma segura dentro de una máquina virtual aislada y temporal, y descartarla al terminar.
configuration
19 milPermite que tu agente configure un registro compartido de valores de configuración con nombre, validados contra un esquema, para que los workers puedan leer los cambios y reaccionar a ellos.
iii
19 milEnseña a tu agente cómo funcionan los workers de iii, para que pueda añadir una capacidad comprobando primero lo que ya existe y después construyendo un worker.
iii-stream
19 milExplica el worker iii-stream para feeds de datos en vivo. Está obsoleto y se eliminará en una próxima versión, así que planifica salir de él.
Skills parecidas
openclaw-update
394 milAyuda a tu agente a actualizar una Gateway de OpenClaw que ya existe, eligiendo el método de actualización que encaja con cómo se instaló y manteniendo tu sesión activa.
diagnose-gateway
394 milAyuda a tu agente a averiguar por qué falla tu Gateway de OpenClaw, revisando ajustes, canales y puertos sin cambiar nada.
crabbox-apps
394 milAyuda a tu agente a abrir y ejecutar una app en una máquina temporal en la nube y mostrar su vista en el panel lateral de tu chat.