Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Put otel meter for http/grpc behind a FF #7543

Merged
merged 6 commits into from
May 1, 2023

Conversation

jaronoff97
Copy link
Contributor

Description: Puts the grpc meter provider behind a feature flag for controlling high cardinality metrics.

Link to tracking Issue: #7517

Testing: Tested locally and ensured the metric didn't appear when using otel metrics enabled.

@jaronoff97 jaronoff97 requested a review from a team as a code owner April 18, 2023 08:32
@jaronoff97 jaronoff97 requested a review from mx-psi April 18, 2023 08:32
config/configgrpc/configgrpc.go Outdated Show resolved Hide resolved
@mx-psi mx-psi requested a review from codeboten April 18, 2023 08:38
@codecov
Copy link

codecov bot commented Apr 18, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.02 🎉

Comparison is base (8e95d8f) 91.18% compared to head (cf2ff36) 91.21%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7543      +/-   ##
==========================================
+ Coverage   91.18%   91.21%   +0.02%     
==========================================
  Files         296      296              
  Lines       14422    14465      +43     
==========================================
+ Hits        13151    13194      +43     
  Misses       1006     1006              
  Partials      265      265              
Impacted Files Coverage Δ
internal/obsreportconfig/obsreportconfig.go 93.33% <ø> (ø)
service/service.go 70.22% <100.00%> (+0.22%) ⬆️
service/telemetry.go 89.60% <100.00%> (+1.33%) ⬆️

... and 2 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

internal/obsreportconfig/obsreportconfig.go Outdated Show resolved Hide resolved
config/configgrpc/configgrpc.go Outdated Show resolved Hide resolved
.chloggen/7517-behind-ff.yaml Outdated Show resolved Hide resolved
.chloggen/7517-behind-ff.yaml Outdated Show resolved Hide resolved
Copy link
Contributor

@codeboten codeboten left a comment

Choose a reason for hiding this comment

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

Thanks for addressing my comments.

@codeboten codeboten merged commit f0f710b into open-telemetry:main May 1, 2023
28 checks passed
@github-actions github-actions bot added this to the next release milestone May 1, 2023
@jaronoff97 jaronoff97 deleted the 7517-behind-ff branch May 1, 2023 21:11
codeboten pushed a commit to codeboten/opentelemetry-collector that referenced this pull request May 2, 2023
**Description:** Puts the grpc meter provider behind a feature flag for controlling high cardinality metrics.

**Link to tracking Issue:** open-telemetry#7517
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.

None yet

5 participants