Skip to content

chore: remove dependecy to OpenTelemetry.Api - #100

Merged
rhamzeh merged 1 commit into
openfga:mainfrom
m4tchl0ck:Remove_reference_to_OpenTelemetry
Mar 28, 2025
Merged

chore: remove dependecy to OpenTelemetry.Api#100
rhamzeh merged 1 commit into
openfga:mainfrom
m4tchl0ck:Remove_reference_to_OpenTelemetry

Conversation

@m4tchl0ck

Copy link
Copy Markdown
Contributor

As the SDK is not using features from OpenTelemetry Api the dependency is not needed.

Description

The instrumentation of the SDK is done via dotnet mechanism (System.Diagnostic).
The appliction which use the SDK should manage and configure the OpenTelemetry packages.

Review Checklist

  • I have clicked on "allow edits by maintainers".
  • I have added documentation for new/changed functionality in this PR or in a PR to openfga.dev [Provide a link to any relevant PRs in the references section above]
  • The correct base branch is being used, if not main
  • I have added tests to validate that the change in functionality is working as expected

@m4tchl0ck
m4tchl0ck requested a review from a team as a code owner March 14, 2025 16:06
@linux-foundation-easycla

linux-foundation-easycla Bot commented Mar 14, 2025

Copy link
Copy Markdown

CLA Signed


The committers listed above are authorized under a signed CLA.

As the SDK is not using features from OpenTelemetry Api the dependency is not needed.
The instrumentation of the SDK is done via dotnet mechanism (System.Diagnostic).
The appliction which use the SDK should manage and configure the OpenTelemetry packages
@m4tchl0ck
m4tchl0ck force-pushed the Remove_reference_to_OpenTelemetry branch from 1455f93 to d3f50b9 Compare March 14, 2025 16:09
@codecov-commenter

codecov-commenter commented Mar 16, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 33.00%. Comparing base (1335dc1) to head (d3f50b9).
⚠️ Report is 60 commits behind head on main.

❌ Your project status has failed because the head coverage (33.00%) is below the target coverage (80.00%). You can increase the head coverage or adjust the target coverage.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #100   +/-   ##
=======================================
  Coverage   33.00%   33.00%           
=======================================
  Files         128      128           
  Lines        6387     6387           
  Branches      840      840           
=======================================
  Hits         2108     2108           
  Misses       4099     4099           
  Partials      180      180           

☔ 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.

@rhamzeh

rhamzeh commented Mar 16, 2025

Copy link
Copy Markdown
Member

Thanks for the PR @m4tchl0ck!

Apologies if it takes a bit to get merged, we're trying to clear up some blockers in the changes we have queued for .NET that are delaying things

@rhamzeh rhamzeh changed the title Remove dependecy to OpenTelemetry.Api chore: remove dependecy to OpenTelemetry.Api Mar 28, 2025
@rhamzeh
rhamzeh added this pull request to the merge queue Mar 28, 2025
Merged via the queue into openfga:main with commit f46064f Mar 28, 2025
rhamzeh pushed a commit to openfga/sdk-generator that referenced this pull request Mar 28, 2025
As the SDK is not using features from OpenTelemetry Api the dependency is not needed.
The instrumentation of the SDK is done via dotnet mechanism (System.Diagnostic).
The appliction which use the SDK should manage and configure the OpenTelemetry packages

Backport of openfga/dotnet-sdk#100
rhamzeh pushed a commit to openfga/sdk-generator that referenced this pull request Mar 28, 2025
As the SDK is not using features from OpenTelemetry Api the dependency is not needed.
The instrumentation of the SDK is done via dotnet mechanism (System.Diagnostic).
The appliction which use the SDK should manage and configure the OpenTelemetry packages

Backport of openfga/dotnet-sdk#100
@rhamzeh rhamzeh mentioned this pull request Sep 30, 2025
4 tasks
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.

3 participants