mirror of
https://github.com/BerriAI/litellm.git
synced 2026-12-04 01:48:57 +00:00
* feat(traces): render curated SQL examples from shared files * fix(traces): filter trace-summary example after grouping so boundary-spanning traces keep full totals Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * fix(traces): order failed-spans example by timestamp so newest failures survive the limit Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --------- Co-authored-by: Yujong Lee <yujong@berri.ai> Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
6 lines
153 B
SQL
6 lines
153 B
SQL
SELECT
|
|
DISTINCT arrayJoin(JSONExtractKeys(metadata)) AS key
|
|
FROM spend_logs FINAL
|
|
WHERE start_time >= now() - INTERVAL 30 DAY
|
|
ORDER BY key
|
|
LIMIT 200
|