Skip to content

Rsd/otel receiver#1

Open
rsd-raindrop wants to merge 2 commits into
mainfrom
rsd/otel-receiver
Open

Rsd/otel receiver#1
rsd-raindrop wants to merge 2 commits into
mainfrom
rsd/otel-receiver

Conversation

@rsd-raindrop

Copy link
Copy Markdown
Contributor

Summary

  • Add OTLPHandler() an http.Handler that receives OTLP/HTTP JSON traces (e.g. from OpenRouter's broadcast) and forwards them to Raindrop
    • Add OTelSpanExporter() — exports OTel SDK spans to Raindrop for instrumenting your own Go code
    • Add defaultResourceAttributes helper (shared by both paths)
    • 5 new handler tests, all existing tests pass
    • Two examples: manual OTel span creation (examples/openrouter/) and OTLP receiver (examples/openrouter-receiver/)

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