Repository navigation
fix(sdk): apply global attribute limit fallbacks - #2058
Merged
bobstrecansky merged 1 commit intoSep 23, 2026
Merged
bobstrecansky merged 1 commit into
bobstrecansky merged 1 commit into
Conversation
|
|
tayfuryldz
force-pushed
the
fix/2055-global-attribute-limits
branch
from
September 16, 2026 13:40
0140bf9 to
2233314
Compare
Contributor
Author
|
/easycla |
brettmc
approved these changes
Sep 22, 2026
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2058 +/- ##
============================================
+ Coverage 68.07% 68.16% +0.08%
- Complexity 3084 3090 +6
============================================
Files 459 459
Lines 9035 9047 +12
============================================
+ Hits 6151 6167 +16
+ Misses 2884 2880 -4
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 5 files with indirect coverage changes Continue to review full report in Codecov by Harness.
🚀 New features to boost your workflow:
|
ChrisLightfootWild
approved these changes
Sep 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #2055.
What changed
OTEL_ATTRIBUTE_COUNT_LIMITas the fallback for span, span-event, span-link, and log-record attribute countsOTEL_ATTRIBUTE_VALUE_LENGTH_LIMITas the fallback for span/event/link and log-record attribute value lengthsOTEL_SPAN_*,OTEL_EVENT_*,OTEL_LINK_*, andOTEL_LOGRECORD_*win when explicitly configuredThe fallback order follows the common attribute-limit specification: model-specific configuration first, then the general limit, then the model-specific default.
Validation
SDK/Trace/ExporterFactoryTest.phpbecause this rootless PHP runtime does not have nativeext-grpc; the only failures in the unfiltered run were the two existing gRPC exporter cases (Grpc\\ChannelCredentialsunavailable)git diff --check