Skip to content

feat(opentelemetry): add space id attribute to tracing#717

Merged
Ahoo-Wang merged 2 commits into3.xfrom
add-space-id-attribute-to-tracing
Feb 4, 2026
Merged

feat(opentelemetry): add space id attribute to tracing#717
Ahoo-Wang merged 2 commits into3.xfrom
add-space-id-attribute-to-tracing

Conversation

@Ahoo-Wang
Copy link
Owner

No description provided.

- Add COSEC_SPACE_ID_KEY and COSEC_SPACE_ID_ATTRIBUTE_KEY constants
- Include spaceId in the attributes extracted from CoSecRequest
- Update CoSecAttributesExtractorTest to mock spaceId property
- Add spaceId mocking to TracingAuthorizationTest role verification context
- Ensure spaceId is only added to attributes when not blank

Signed-off-by: Ahoo Wang <ahoowang@qq.com>
@Ahoo-Wang Ahoo-Wang added the enhancement New feature or request label Feb 4, 2026
- Update project version from 3.3.0 to 3.3.1 in gradle.properties
- Maintain group and description unchanged
- Keep website and issues URLs consistent with repository
- Prepare for new release with updated version number
- Ensure version consistency across build configuration

Signed-off-by: Ahoo Wang <ahoowang@qq.com>
@Ahoo-Wang Ahoo-Wang merged commit aaebbcc into 3.x Feb 4, 2026
4 checks passed
@Ahoo-Wang Ahoo-Wang deleted the add-space-id-attribute-to-tracing branch February 4, 2026 12:17
@codecov
Copy link

codecov bot commented Feb 4, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.64%. Comparing base (7d8c2cc) to head (4dc6fff).
⚠️ Report is 2 commits behind head on 3.x.

Additional details and impacted files
@@             Coverage Diff              @@
##                3.x     #717      +/-   ##
============================================
+ Coverage     91.62%   91.64%   +0.01%     
  Complexity      608      608              
============================================
  Files           149      149              
  Lines          1827     1831       +4     
  Branches        157      158       +1     
============================================
+ Hits           1674     1678       +4     
  Misses           74       74              
  Partials         79       79              
Flag Coverage Δ
unittests 91.64% <100.00%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant