Skip to content

add end_trace() #917

@bboynton97

Description

@bboynton97

At the moment, there is no way to set a status code on a trace.

We previously assumed that the trace's status was fail if any span within the trace was a failure, but this isn't true.

We should be able to run something like agentops.end_trace(end_state='Success') to manually set the success status of the trace.

More conversation needed

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions