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

Warn against using allow_custom_values #514

Merged

Conversation

jerbly
Copy link
Contributor

@jerbly jerbly commented Dec 7, 2024

Issue #301 - Warn against usage of allow_custom_values.
(A warning for prefix had already been implemented.)

Made allow_custom_values an Option<bool> to detect whether it has been set.

Copy link

codecov bot commented Dec 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 74.0%. Comparing base (5fecae9) to head (c841c71).

Additional details and impacted files
@@          Coverage Diff          @@
##            main    #514   +/-   ##
=====================================
  Coverage   74.0%   74.0%           
=====================================
  Files         50      50           
  Lines       3921    3927    +6     
=====================================
+ Hits        2903    2909    +6     
  Misses      1018    1018           

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

@jerbly jerbly marked this pull request as ready for review December 7, 2024 12:26
@jerbly jerbly requested a review from a team as a code owner December 7, 2024 12:26
Copy link
Contributor

@lquerel lquerel left a comment

Choose a reason for hiding this comment

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

LGTM

@jsuereth jsuereth enabled auto-merge (squash) December 9, 2024 12:57
@jsuereth jsuereth merged commit 0ecdee2 into open-telemetry:main Dec 9, 2024
20 checks passed
@jerbly jerbly deleted the warn-for-prefix-and-allow_custom_values branch December 9, 2024 13:48
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