Skip to content

Conversation

@codeboten
Copy link
Contributor

Restore the functionality to use the OTel Go Contrib package to configure the SDK for Tracer Providers.

Fixes #9715

@codecov
Copy link

codecov bot commented Apr 15, 2024

Codecov Report

Attention: Patch coverage is 78.94737% with 4 lines in your changes are missing coverage. Please review.

Project coverage is 91.75%. Comparing base (bb816ac) to head (835a717).

Files Patch % Lines
service/telemetry/telemetry.go 78.94% 3 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #9967      +/-   ##
==========================================
+ Coverage   91.71%   91.75%   +0.03%     
==========================================
  Files         359      358       -1     
  Lines       16642    16535     -107     
==========================================
- Hits        15263    15171      -92     
+ Misses       1054     1041      -13     
+ Partials      325      323       -2     

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

@codeboten codeboten marked this pull request as ready for review April 15, 2024 20:46
@codeboten codeboten requested review from a team and djaglowski April 15, 2024 20:46
// TODO: once https://github.com/open-telemetry/opentelemetry-configuration/issues/83 is resolved,
// configuration for sampler should be done here via something like the following:
//
// Sampler: &config.Sampler{
Copy link
Member

Choose a reason for hiding this comment

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

After merging this PR and before resolving open-telemetry/opentelemetry-configuration/issues/83 we would have no sampling? (That's okay with me, just double checking)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@mx-psi
Copy link
Member

mx-psi commented Apr 16, 2024

Needs tidying

@codeboten codeboten force-pushed the codeboten/use-config-sdk branch from 914a886 to d0904ce Compare April 16, 2024 16:59
Signed-off-by: Alex Boten <[email protected]>
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.

internal traces are not generated when telemetry.useOtelWithSDKConfigurationForInternalTelemetry feature gate is set

2 participants