Skip to content

feat: add log span kind (agentops.log) for arbitrary trace logging#1415

Closed
icohangar-ops wants to merge 1 commit into
AgentOps-AI:mainfrom
icohangar-ops:feat/log-span-kind
Closed

feat: add log span kind (agentops.log) for arbitrary trace logging#1415
icohangar-ops wants to merge 1 commit into
AgentOps-AI:mainfrom
icohangar-ops:feat/log-span-kind

Conversation

@icohangar-ops

Copy link
Copy Markdown

Fixes #1024

Adds agentops.log(name, message, level) for creating log-style spans in traces. Similar to Langfuse trace events.

Usage:

from agentops import log

log(name="xml_tool_call_limit_reached", message="XML tool call limit reached - not yielding more content chunks", level="WARNING")

This completes the request in #1024 alongside the agentops.error() function added in #1414.

@icohangar-ops icohangar-ops closed this by deleting the head repository Jun 20, 2026
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.

[Feature]: Create arbitrary log spans

2 participants