Skip to content

feat(output): add basic opentelemetry output#971

Draft
Molter73 wants to merge 1 commit into
mainfrom
mauro/feat/otel-output
Draft

feat(output): add basic opentelemetry output#971
Molter73 wants to merge 1 commit into
mainfrom
mauro/feat/otel-output

Conversation

@Molter73

@Molter73 Molter73 commented Jul 2, 2026

Copy link
Copy Markdown
Collaborator

Description

This output allows exporting file activity events as opentelemetry logs via otlp to be collected by compatible systems.

TODO:

  • Lock changes behind a feature flag
  • Add configurability
  • Add integration tests
  • Add docs on how to use this output

Checklist

  • Patch has a change log entry OR does not need one.
  • Investigated and inspected CI test results
  • Updated documentation accordingly

Automated testing

  • Added unit tests
  • Added integration tests
  • Added regression tests

If any of these don't apply, please comment below.

Testing Performed

TBD

This output allows exporting file activity events as opentelemetry logs
via otlp to be collected by compatible systems.

TODO:
* Add feature flag
* Add configuration
* Add integration tests
* Add docs on how to use this output
@coderabbitai

coderabbitai Bot commented Jul 2, 2026

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yml

Review profile: CHILL

Plan: Enterprise

Run ID: 5c63b5d7-d786-4c81-8fa8-25c9e878dcc1

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch mauro/feat/otel-output

Comment @coderabbitai help to get the list of available commands.

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 155 lines in your changes missing coverage. Please review.
✅ Project coverage is 30.50%. Comparing base (0116956) to head (486adb1).
⚠️ Report is 6 commits behind head on main.

Files with missing lines Patch % Lines
fact/src/event/mod.rs 0.00% 81 Missing ⚠️
fact/src/event/process.rs 0.00% 39 Missing ⚠️
fact/src/output/otel/mod.rs 0.00% 33 Missing ⚠️
fact/src/output/mod.rs 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #971      +/-   ##
==========================================
- Coverage   32.23%   30.50%   -1.73%     
==========================================
  Files          21       22       +1     
  Lines        2736     2891     +155     
  Branches     2736     2891     +155     
==========================================
  Hits          882      882              
- Misses       1851     2006     +155     
  Partials        3        3              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

2 participants