litellm/docs/my-website
Josh Bonczkowski e9651e2180 Address reviewer feedback on New Relic integration.
- Fix _record_error_metric to use app.record_custom_metric() instead of
  module-level newrelic.agent.record_custom_metric() so the call works
  outside of an active transaction context
- Remove unreachable except ImportError block in _get_trace_context
- Update stale "23 hours" comment to "27 hours" (matches 97200s threshold)
- Remove commented-out debug code from _process_success
- Fix docs typo: NEW_RELIC_CUSTOM_INSIGHTS_EVENTS_MAX_SAMPLES_STOREDA ->
  NEW_RELIC_CUSTOM_INSIGHTS_EVENTS_MAX_SAMPLES_STORED
- Update TestRecordErrorMetric to verify app.record_custom_metric call

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-24 15:00:04 -04:00
..
blog Fix version in docs 2026-04-16 22:41:32 +05:30
docs Address reviewer feedback on New Relic integration. 2026-04-24 15:00:04 -04:00
img fallbacks image 2026-04-14 17:58:11 -07:00
release_notes Merge pull request #25731 from BerriAI/docs_guardrail 2026-04-14 18:13:12 -07:00
src Add docs announcement bar for Trivy compromise resolution (#25870) 2026-04-16 15:15:52 -07:00
static docs(troubleshoot): add cost discrepancy debugging guide 2026-04-13 11:27:16 +05:30
.gitignore Inkeep searchbar and chat added to the Docs (#12030) 2025-06-26 10:13:42 -07:00
babel.config.js updating docs 2023-08-12 11:30:32 -07:00
Dockerfile build: migrate packaging, CI, and Docker from Poetry to uv (#25007) 2026-04-09 11:46:23 -07:00
docusaurus.config.js docs: add "Copy Page as Markdown" + llms.txt to docs site (#25975) 2026-04-17 13:03:12 -07:00
index.md fix keys 2023-08-17 16:13:52 -07:00
package-lock.json Merge branch 'litellm_internal_staging' into litellm_adaptive_routing 2026-04-20 15:28:08 -07:00
package.json Merge branch 'litellm_internal_staging' into litellm_adaptive_routing 2026-04-20 15:28:08 -07:00
README.md updating docs 2023-08-12 11:30:32 -07:00
sidebars-release-notes.js update: ui and layout change 2026-03-17 01:55:27 +05:30
sidebars.js Merge branch 'litellm_internal_staging' into litellm_adaptive_routing 2026-04-20 15:28:08 -07:00

Website

This website is built using Docusaurus 2, a modern static website generator.

Installation

$ yarn

Local Development

$ yarn start

This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.

Build

$ yarn build

This command generates static content into the build directory and can be served using any static contents hosting service.

Deployment

Using SSH:

$ USE_SSH=true yarn deploy

Not using SSH:

$ GIT_USER=<Your GitHub username> yarn deploy

If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the gh-pages branch.