Describe the bug
I want to use the existing clickhouse in a custom timezone. If clickhouse's default timezone is set to the other than UTC, the langfuse UI describes wrong timestamp.
For example, the clickhouse is set to KST (UTC+9) and a certain trace was created at 01:00 in UTC.
Then the clickhouse stored that trace in 10:00 in KST by the default timezone setting.
Later, langfuse UI would fetch the trace from the clickhouse and its timestamp is translated into UTC, not KST. Finally, it applies local timezone in web client once again (19:00 in KST)
Steps to reproduce
- Clickhouse setting: default time zone to KST
- Langfuse web working on UTC timezone
- Store traces in UTC
- View in langfuse UI
Langfuse Cloud or self-hosted?
Self-hosted
If self-hosted, what version are you running?
3.140.0
SDK and integration versions
No response
Additional information
If the clickhouse client enables use_client_time_zone, the clickhouse server may return the traces with the timestamp in client timezone (UTC): https://github.com/ClickHouse/clickhouse-js/blob/8f2add94dc9e064d96b94dcb0dac019d7286e9c0/packages/client-common/src/settings.ts#L1555C3-L1555C23
Are you interested in contributing a fix for this bug?
Yes
Describe the bug
I want to use the existing clickhouse in a custom timezone. If clickhouse's default timezone is set to the other than UTC, the langfuse UI describes wrong timestamp.
For example, the clickhouse is set to KST (UTC+9) and a certain trace was created at 01:00 in UTC.
Then the clickhouse stored that trace in 10:00 in KST by the default timezone setting.
Later, langfuse UI would fetch the trace from the clickhouse and its timestamp is translated into UTC, not KST. Finally, it applies local timezone in web client once again (19:00 in KST)
Steps to reproduce
Langfuse Cloud or self-hosted?
Self-hosted
If self-hosted, what version are you running?
3.140.0
SDK and integration versions
No response
Additional information
If the clickhouse client enables
use_client_time_zone, the clickhouse server may return the traces with the timestamp in client timezone (UTC): https://github.com/ClickHouse/clickhouse-js/blob/8f2add94dc9e064d96b94dcb0dac019d7286e9c0/packages/client-common/src/settings.ts#L1555C3-L1555C23Are you interested in contributing a fix for this bug?
Yes