Skip to content

pydantic/logfire-demo

Repository files navigation

logfire-demo

This project demonstrates Pydantic Logfire.

It's designed to be a simple app with enough functionality to show some of the things Logfire can do.

Running the demo

  1. Follow these instructions to get setup with logfire, you'll want to export your logfire write token as LOGFIRE_TOKEN so it can be used by docker compose.
  2. Create a GitHub app and set the GITHUB_APP_ID, GITHUB_APP_INSTALLATION_ID and GITHUB_APP_PRIVATE_KEY environment variables. (this is used for the "GitHub similar issues suggestion" in demo).
  3. Create an OpenAI token and set the OPENAI_API_KEY environment variable (this is used for the "LLM Query" demo)
  4. Run make up.

Now you can go to the Logfire demo page and try the app.

You can find your project Dashboard link at the end of the page. Click on the dashboard link to see the live logs from the demo project.

About

No description, website, or topics provided.

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages