AgentOps-AI / AgentOps-AI/agentops
[Feature]: Create Error Span Kind
未關閉
enhancement
good first issue
- 主要語言
- Python
- 星號
- 5.8k
- 分支
- 619
- PR 合併指標
- 30 天內沒有已合併 PR
描述
### 💡 Feature Description and Proposed Solution
Create an easy way to create and log errors as spans. This could be potentially BOTH a decorator and a standalone function. For example:
```
from agentops.sdk.decorators import error
@error
def log_error():
...
error()
```
OR
```
agentops.error(name="...", message="...")
```
### 🤔 Related Problem
_No response_
### 🤝 Contribution
- [ ] Yes, I'd be happy to submit a pull request with these changes.
- [ ] I need some guidance on how to contribute.
- [ ] I'd prefer the AgentOps team to handle this update.
貢獻指南
評估
這個 Issue 還沒有評估資料。