GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — braintrust-sdk-python/examples/temporal at main · braintrustdata/braintrust-sdk-python

Expand file tree

/

temporal

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
/

temporal

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
.env.example
.env.example
 
 
.gitignore
.gitignore
 
 
Procfile
Procfile
 
 
README.md
README.md
 
 
mise.toml
mise.toml
 
 
pyproject.toml
pyproject.toml
 
 
run.py
run.py
 
 
worker.py
worker.py
 
 
workflow.py
workflow.py
 
 

README.md

Outline

Braintrust Temporal Tracing Example

This example demonstrates distributed tracing for Temporal workflows using Braintrust.

Setup

  1. Install dependencies. This is a uv project that installs braintrust[temporal] from the local checkout:

    uv sync

    Or if using mise (which also installs the temporal and overmind CLIs):

    mise install
  2. Configure your Braintrust API key in .env:

    cp .env.example .env
    # Edit .env and add your BRAINTRUST_API_KEY

Running

  1. Start the Temporal server and workers:

    mise run server
  2. In another terminal, run the workflow:

    mise run workflow

    Optional: Send a signal during workflow execution:

    mise run workflow -- --signal
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.