-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Add OTLP logs layer #5386
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Add OTLP logs layer #5386
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
99e6515 to
c8206bf
Compare
Kvadratni
reviewed
Oct 28, 2025
Kvadratni
approved these changes
Oct 28, 2025
Contributor
Kvadratni
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM !
zanesq
added a commit
that referenced
this pull request
Oct 30, 2025
* 'main' of github.com:block/goose: (81 commits) nextcamp - fix session resume when navigating back to chat in sidebar (#5370) feat/fix: set optional config params, and don't overwrite unset secrets (#5325) Stringly typed config (#5463) Fix: Compaction client <-> server sync (#5481) docs: recipe activity parameter substitution (#5462) only run fork on branch PRs (#5461) docs: video on goose with apify mcp (#5472) Clear windows and fix build failure (#5452) Add menu option for setting window always on top (#5429) Delete environment variable (#5479) chore: upgrade rmcp to 0.8.3 (#5458) docs: add "Building Custom Tools and Extensions for Goose" (#5469) Doc (Blog): Managing goose Configurations Across Multiple Projects (#5467) apify doc fix (#5460) Stream token usage on every agent message (#5342) rpm install in /opt/Goose to avoid conflicts with chrome-sandbox (#5421) Don't disable extensions after they fail to activate in new chat session (#5464) Add OTLP logs layer (#5386) openapi to locust load test generator recipe (#5447) technical debt tracker recipe (#5451) ... # Conflicts: # ui/desktop/src/components/ChatInput.tsx
fbalicchia
pushed a commit
to fbalicchia/goose
that referenced
this pull request
Nov 7, 2025
Signed-off-by: fbalicchia <[email protected]>
BlairAllan
pushed a commit
to BlairAllan/goose
that referenced
this pull request
Nov 29, 2025
Signed-off-by: Blair Allan <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Added OTLP logging support to goose to export logs alongside existing traces and metrics to OpenTelemetry endpoint.
Type of Change
Testing
Have done some manual testing by exporting OTEL_EXPORTER_OTLP_ENDPOINT to localhost and generating some logs. Output example:
{"resourceLogs":[{"resource":{"attributes":[{"key":"service.namespace","value":{"stringValue":"goose"}},{"key":"service.version","value":{"stringValue":"1.11.0"}},{"key":"service.name","value":{"stringValue":"goose"}}]},"scopeLogs":[{"scope":{"name":"goose::security"},"logRecords":[{"observedTimeUnixNano":"1761628497982873000","severityNumber":13,"severityText":"WARN","body":{"stringValue":"🔒 Current tool call flagged as malicious after security analysis (above threshold)"},"attributes":[{"key":"tool_name","value":{"stringValue":"developer__shell"}},{"key":"tool_request_id","value":{"stringValue":"toolu_bdrk_01TaPCoRAfBDVGD2NbLvLyAv"}},{"key":"confidence","value":{"doubleValue":0.949999988079071}},{"key":"explanation","value":{"stringValue":"Detected 1 security threat:\n1. Bash process substitution with remote content (Risk: Critical) - Found: 'bash <(curl'"}},{"key":"finding_id","value":{"stringValue":"SEC-9e8094501edd4b2e8faceade531161c9"}},{"key":"threshold","value":{"doubleValue":0.699999988079071}}]}]},{"scope":{"name":"goosed::routes::reply"},"logRecords":[{"observedTimeUnixNano":"1761628497968503000","severityNumber":9,"severityText":"INFO","body":{"stringValue":"Tool call started"},"attributes":[{"key":"monotonic_counter.goose.tool_calls","value":{"intValue":"1"}},{"key":"tool_name","value":{"stringValue":"developer__shell"}}]}]}]}]}Testing with actual OTLP endpoint