Skip to content
/ FASTAPI Public

Open Telemetry exporting to Open Telemetry Collector demonstration

Notifications You must be signed in to change notification settings

fygure/FASTAPI

Repository files navigation

FASTAPI

This project requires the following scripts to run locally:

Docker Scripts

  • docker-compose build to build the Docker images (only needed if there are changes to Dockerfile or dependencies)
  • docker-compose up to start the application
  • docker-compose down to stop running containers (Run this first when developing)
  • docker logs fastapi-otel-collector-1 will show the traces logged from the collector

Virtual Environment Scripts

  • python -m venv venv to create a venv
  • .\venv\Scripts\Activate to activate venv
  • pip install -r requirements.txt to install dependencies
  • pip freeze > requirements.txt to capture current dependencies

Local Development Scripts

  • uvicorn app:app --reload to start the development server without Jaeger or OpenTelemetry

These are the tools

About

Open Telemetry exporting to Open Telemetry Collector demonstration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published