Skip to content

Add docs on export mode per service#2376

Merged
grcevski merged 3 commits intomainfrom
document_export_modes
Dec 15, 2025
Merged

Add docs on export mode per service#2376
grcevski merged 3 commits intomainfrom
document_export_modes

Conversation

@marctc
Copy link
Contributor

@marctc marctc commented Dec 15, 2025

Add documentation on exports per service.

Closes #1797
Closes #2192

@marctc marctc requested a review from grafsean as a code owner December 15, 2025 14:32

Controls which telemetry signals Beyla exports for the matching service. This property enables per-service feature enablement, allowing you to selectively enable specific observability capabilities for different services within a single Beyla instance.

The `exports` property accepts a list containing `metrics` and/or `traces`. An empty list `[]` disables export for the service. If not specified, Beyla exports all configured telemetry signals.

Check warning

Code scanning / Vale

Avoid writing and/or except when space is limited, such as in tables. For more information, refer to https://developers.google.com/style/slashes#and-or.

Avoid writing and/or except when space is limited, such as in tables. For more information, refer to https://developers.google.com/style/slashes#and-or.

### Exports

Controls which telemetry signals Beyla exports for the matching service. This property enables per-service feature enablement, allowing you to selectively enable specific observability capabilities for different services within a single Beyla instance.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please add explanation on the behaviour if conflicting rules are presented. For example, a service is mentioned twice with different export options. In this case last one wins.

There should also be explanation that for a specific feature to be available on export we need to have the export options configured. For example, specifying "traces" in the exports doesn't do anything if the OTLP traces exporter isn't configured in Beyla's config.

@codecov-commenter
Copy link

codecov-commenter commented Dec 15, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 43.43%. Comparing base (9b1347d) to head (7370612).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2376   +/-   ##
=======================================
  Coverage   43.43%   43.43%           
=======================================
  Files          39       39           
  Lines        2977     2977           
=======================================
  Hits         1293     1293           
  Misses       1571     1571           
  Partials      113      113           
Flag Coverage Δ
unittests 43.43% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Contributor

@grcevski grcevski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@grcevski grcevski merged commit 685f565 into main Dec 15, 2025
16 checks passed
@grcevski grcevski deleted the document_export_modes branch December 15, 2025 15:46
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.

Document per service telemetry type selection Per-service feature enablement

3 participants