Skip to content

FastAPI can fail to record App Service URL #3654

@rads-1996

Description

@rads-1996

Describe your environment

  • Package Name: azure-monitor-opentelemetry(-exporter)
  • Package Version:
  • Operating System: Linux App Service
  • Python Version: 3.11

What happened?

Describe the bug
FastAPI reports IP instead of URL in Application Insights table.

Image

Steps to Reproduce

To Reproduce
Steps to reproduce the behavior:

  1. Deploy Fastapi App Service
  2. Query
  3. Check App Insights

Expected Result

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
Image

Actual Result

Image

Additional context

No response

Would you like to implement a fix?

Yes

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions