Installatie
🐍 Vergeet niet om eerst het AppSignal for Python-package te installeren in uw applicatie.
opentelemetry-instrumentation-fastapi-pakket. Om het aan uw project toe te voegen, voegt u de volgende regel toe aan uw requirements.txt-bestand:
Setup
Start AppSignal en definieer uw FastAPI-applicatie. Gebruik vervolgens deFastAPIInstrumentor om uw FastAPI-applicatie te instrumenteren: