Skip to content

Conversation

@c-salv
Copy link
Contributor

@c-salv c-salv commented Oct 15, 2025

This pull request introduces a new example FastAPI application to demonstrate autoinstrumentation with EDOT. The changes add all necessary files and documentation to build, run, and instrument a minimal FastAPI service using OpenTelemetry.

New FastAPI example application:

  • Added a minimal FastAPI app in app.py with a single root endpoint returning a greeting message.

Containerization and instrumentation setup:

  • Created a Dockerfile to build the FastAPI app image, install dependencies, set resource attributes, and run with OpenTelemetry instrumentation.

Documentation:

  • Added a README.md with instructions on building, running, and accessing the instrumented FastAPI application.## What does this pull request do?

@c-salv c-salv requested review from a team as code owners October 15, 2025 09:08
Copy link
Member

@xrmx xrmx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not seeing anything peculiar from this fastapi example that is different than the flask one, but a fastapi example cannot hurt. Thanks!

@xrmx xrmx merged commit 0288e8a into elastic:main Oct 15, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants