Skip to content
This repository was archived by the owner on Jun 16, 2025. It is now read-only.
This repository was archived by the owner on Jun 16, 2025. It is now read-only.

How to include request body for 4XX status codes #1198

@cirezd

Description

@cirezd

Hello everyone,

I have an API using the fastAPI OpenCensus Instrumentation and I am sending the data to Azure Application Insights. I am wondering how to include the request body for post requests that result in a 4XX status code? Our customers embed our application into their website and seeing the body for 404 or 422 status codes would help to debug their issues quite a bit.

I use the following packages:
opencensus-ext-fastapi==0.1.0
opencensus-ext-logging==0.1.1
opencensus-ext-azure==1.1.8

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions