AgentOps-AI / agentops

Python SDK for AI agent monitoring, LLM cost tracking, benchmarking, and more. Integrates with most LLMs and agent frameworks including OpenAI Agents SDK, CrewAI, Langchain, Autogen, AG2, and CamelAI
https://agentops.ai
MIT License
4.55k stars 418 forks source link

[Bug]: Span timestamps show differently on dashboard than local time #969

Closed areibman closed 4 weeks ago

areibman commented 1 month ago

Contact Details

No response

šŸ“¦ Package Version

0.4.10

šŸŽžļø Framework Version

openai-1.78.0

šŸ”Ž Describe the Bug

In drilldown, time is UTC:

Image

But in traces table, it's local:

Image

UTC should always be the source of truth. If this is a frontend error then we should fix. But it may be an SDK issue.

šŸ¤ Contribution

KassuBG commented 4 weeks ago

Hi @areibman,

I’m interested in working on issue #969 regarding span timestamps. Can I be assigned to this issue?

Thanks! @KassuBG

Dwij1704 commented 4 weeks ago

Hi @KassuBG Thank you for your interest in contributing to the repo. @areibman We set UTC from SDK, IMO this should be handled in frontend just like timestamps are handled in trace list for local time

KassuBG commented 4 weeks ago

Hi @Dwij1704, is it a get to go with #969, may you please be more explicit? Thanks!

Dwij1704 commented 4 weeks ago

@KassuBG No changes required on the SDK, closing the issue

KassuBG commented 4 weeks ago

@Dwij1704 thank you for the heads up!