mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-07 02:59:05 +00:00
* wip * feat(traces): establish shared Rust storage foundation * fix(traces): escape ClickHouse text parameters * test(traces): exercise response cap with bounded strings * fix(traces): remove unnecessary lint expectation * fix(traces): encode ClickHouse timestamp units in Rust * test(traces): mark exception match as a regex * refactor(traces): execute schema setup in Rust * refactor(traces): use shared logging execution wrapper * docs(traces): replace foundation README with boundary rules * fix(traces): use current bridge execution facade * fix(traces): account for protocol cast in lint budget Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --------- Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
32 lines
1.3 KiB
XML
32 lines
1.3 KiB
XML
<clickhouse>
|
|
<profiles>
|
|
<litellm_traces_reader>
|
|
<readonly>1</readonly>
|
|
<max_execution_time>10</max_execution_time>
|
|
<max_result_rows>1000</max_result_rows>
|
|
<max_result_bytes>4194304</max_result_bytes>
|
|
<result_overflow_mode>throw</result_overflow_mode>
|
|
<max_memory_usage>268435456</max_memory_usage>
|
|
<constraints>
|
|
<readonly><readonly/></readonly>
|
|
<max_execution_time><readonly/></max_execution_time>
|
|
<max_result_rows><readonly/></max_result_rows>
|
|
<max_result_bytes><readonly/></max_result_bytes>
|
|
<result_overflow_mode><readonly/></result_overflow_mode>
|
|
<max_memory_usage><readonly/></max_memory_usage>
|
|
</constraints>
|
|
</litellm_traces_reader>
|
|
</profiles>
|
|
<users>
|
|
<litellm_traces_reader>
|
|
<password from_env="LITELLM_TRACES_READER_PASSWORD"/>
|
|
<networks><ip>::/0</ip></networks>
|
|
<profile>litellm_traces_reader</profile>
|
|
<grants>
|
|
<query>GRANT SELECT ON default.otel_traces</query>
|
|
<query>GRANT SELECT ON default.agent_traces</query>
|
|
<query>GRANT SELECT ON default.spend_logs</query>
|
|
</grants>
|
|
</litellm_traces_reader>
|
|
</users>
|
|
</clickhouse>
|