Skip to content

feat(goose): add goose AI coding agent OpenTelemetry example#189

Open
prathamesh-sonpatki wants to merge 1 commit into
mainfrom
prathamesh/goose-otel-example
Open

feat(goose): add goose AI coding agent OpenTelemetry example#189
prathamesh-sonpatki wants to merge 1 commit into
mainfrom
prathamesh/goose-otel-example

Conversation

@prathamesh-sonpatki
Copy link
Copy Markdown
Member

Summary

  • Adds goose/ example showing how to ship goose (Block's OSS AI coding agent) telemetry to Last9
  • Two paths: direct OTLP HTTP/gRPC from shell env, or via local OpenTelemetry Collector
  • Mirrors claude-code/, codex/, cline/ example layouts

Key facts about goose

  • Uses standard OTEL_* env vars (no custom prefix)
  • Exports all three signals: traces, metrics, logs
  • Default temporality is cumulative — no server-side conversion needed
  • Built in Rust on opentelemetry-rust SDK 0.31.0
  • Service name auto-set to goose (overridable via OTEL_SERVICE_NAME)

Test plan

  • Verified end-to-end with goose 1.33.1: traces (reply, complete, stream_response_from_provider), logs (session counters), metrics flow to Last9
  • Reviewer to verify both direct + collector paths

🤖 Generated with Claude Code

Send goose (Block's open-source AI coding agent) telemetry — traces,
metrics, and logs — to Last9 via OpenTelemetry. Two paths: direct
OTLP HTTP/gRPC, or via local OpenTelemetry Collector.

goose uses standard OTEL_* env vars (no custom prefix) and exports
all three signals with cumulative temporality by default.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant