Skip to content

Conversation

@tcdent
Copy link
Contributor

@tcdent tcdent commented Jun 2, 2025

  • make_span and finalize_span were already tightly coupled to TracingCore but were living in another module. Make them part of core.
  • TracingCore singleton convention was excessive; a single global instance is already thread-safe.
  • agentops.core should be decoupled from semantc conventions. Moved span/resource attribute construction to a new file.
  • agentops.helpers.system probably has unused code we should clean up.

@tcdent tcdent requested a review from Dwij1704 June 2, 2025 15:18
@codecov
Copy link

codecov bot commented Jun 2, 2025

Codecov Report

Attention: Patch coverage is 65.86826% with 57 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
agentops/sdk/attributes.py 46.80% 25 Missing ⚠️
agentops/helpers/system.py 7.14% 13 Missing ⚠️
agentops/sdk/core.py 83.82% 11 Missing ⚠️
agentops/client/client.py 42.85% 4 Missing ⚠️
agentops/legacy/__init__.py 62.50% 3 Missing ⚠️
agentops/sdk/decorators/factory.py 91.66% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

@bboynton97 bboynton97 self-requested a review June 2, 2025 15:31
dot-agi added a commit that referenced this pull request Jun 4, 2025
@bboynton97 bboynton97 merged commit 51d8234 into main Jun 5, 2025
10 checks passed
@bboynton97 bboynton97 deleted the coupling branch June 5, 2025 23:59
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