Skip to main content

Fiberplane studio integration with FastAPI

Project description

fpx.py

Provides instrumentation and route detection for FastAPI apps.

Usage

After installing fpxpy either from source or from pip, simply add the second line referencing your FastAPI app.

from fpxpy import setup

app = FastAPI()
setup(app)

Running

After that, when running your FastAPI server, be sure to set the FPX_ENDPOINT env variable pointing to your instance of Fiberplane Studio, e.g:

$ FPX_ENDPOINT=http://localhost:8788/v1/traces uv run fastapi dev main.py

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fpxpy-0.1.0.tar.gz (216.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fpxpy-0.1.0-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

Details for the file fpxpy-0.1.0.tar.gz.

File metadata

  • Download URL: fpxpy-0.1.0.tar.gz
  • Upload date:
  • Size: 216.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.11

File hashes

Hashes for fpxpy-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b533e9d38f9e4eb52e0e6a06e920d86a77e0563032e04ad26e640575a5c60469
MD5 30d0742d340a20130c4da100fbb7f156
BLAKE2b-256 cbe50212228a12f96665ea180587e8ed0f1e79e1d6ba6e224fa2ba75edbe73d1

See more details on using hashes here.

File details

Details for the file fpxpy-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: fpxpy-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.11

File hashes

Hashes for fpxpy-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3c0c45ed0a111a208484b24aaed54e9f1bf7d9937625588099f71def94428992
MD5 e009dc193a9ceb7797c85660d01a9e07
BLAKE2b-256 84e30934e0f9920b1a063f017e67f37976a03d3e0f3f8bc19494004c3843df58

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page