Skip to content

feat(sensor): add opt-in OpenTelemetry log export - #120

Open
barisozbas wants to merge 3 commits into
mainfrom
bozbas/adr-sensor-otel-export
Open

feat(sensor): add opt-in OpenTelemetry log export#120
barisozbas wants to merge 3 commits into
mainfrom
bozbas/adr-sensor-otel-export

Conversation

@barisozbas

Copy link
Copy Markdown
Collaborator

Summary

Intent:

  • Let Sensor users forward normalized records to SIEM pipelines without changing default behavior.
  • Keep export explicitly opt-in and preserve complete parser output without exporter-side redaction.

Changes:

  • Add validated JSON configuration and an optional OTLP/HTTP dependency extra.
  • Emit agent sessions and system configurations as OpenTelemetry logs during the existing one-shot run.
  • Flush before exit, surface endpoint failures, and document configuration, deduplication, and privacy behavior.

Test Plan

  • Sent an AgentEvent to a local OTLP/HTTP receiver and decoded the full unredacted protobuf payload.
  • Verified a base installation runs without OpenTelemetry packages and gives install guidance when export is enabled.

Generated by the 🪄 pr-create skill in devexp-agent-marketplace

Issues

Summary:
Intent:
- Let Sensor users forward normalized records to SIEM pipelines without changing default behavior.
- Keep export explicitly opt-in and preserve complete parser output without exporter-side redaction.

Changes:
- Add validated JSON configuration and an optional OTLP/HTTP dependency extra.
- Emit agent sessions and system configurations as OpenTelemetry logs during the existing one-shot run.
- Flush before exit, surface endpoint failures, and document configuration, deduplication, and privacy behavior.

Test Plan:
- Sent an AgentEvent to a local OTLP/HTTP receiver and decoded the full unredacted protobuf payload.
- Verified a base installation runs without OpenTelemetry packages and gives install guidance when export is enabled.

---

<sub>Generated by the 🪄 [pr-create](https://sg.uberinternal.com/code.uber.internal/uber-code/devexp-agent-marketplace/-/blob/claude-code/plugins/dev/uber-dev/skills/pr-create/SKILL.md) skill in devexp-agent-marketplace</sub>
@barisozbas
barisozbas marked this pull request as ready for review September 11, 2026 23:11
@barisozbas
barisozbas requested a review from cmvan September 12, 2026 18:43
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