Skip to main content
Droid can export OpenTelemetry (OTEL) metrics to your own OTLP-compatible collector, giving you full visibility into Droid activity within your existing observability stack. Metrics are sent to both Factory’s collector and yours in the same export cycle — if your collector is unreachable, Factory’s own export is not affected.

Configuration

Set these environment variables before launching Droid:

How it works

  • When OTEL_TELEMETRY_ENDPOINT is set, metrics are sent to your endpoint in the same export cycle via a fan-out exporter — no extra timers, no duplication of metric readers.
  • Failures to your collector do not affect Factory’s own export. Each endpoint is isolated.
  • Metrics use delta temporality — each export contains only new values since the last flush (60-second intervals).

Exported metrics

All metrics use the droid.* namespace.

Common attributes

Every data point includes these attributes automatically: Tool-specific attributes (tool.name, mcp.server, skill.name, etc.) are included where applicable. Resource attributes include service.name (cli) and service.version.

Example configurations


Troubleshooting

  • Verify your collector accepts OTLP HTTP on the /v1/metrics path.
  • Confirm OTEL_TELEMETRY_HEADERS includes valid auth credentials.
  • Ensure network connectivity from the machine running Droid to your collector.