phoenix icon indicating copy to clipboard operation
phoenix copied to clipboard

[BUG] get_spans start and end times are in user timezones whereas in phoenix the filtering is done in UTC

Open gabe0912 opened this issue 10 months ago • 2 comments

start_time and end_time filter on get_spans() transforms to iso_time which is in the user's timezone. The Phoenix UI also shows it on the users timezone, however, the filtering uses UTC by the looks of it.

gabe0912 avatar Apr 26 '24 23:04 gabe0912

@gabe0912 I assume we're talking about the get_spans_dataframe method on phoenix.Client?

axiomofjoy avatar Apr 27 '24 01:04 axiomofjoy

@axiomofjoy https://github.com/Arize-ai/phoenix/blob/main/src/phoenix/session/client.py#L63 would be the root

gabe0912 avatar Apr 29 '24 21:04 gabe0912