Skip to content

RequestId has invalid data in Azure Functions #786

@zajda20

Description

@zajda20

Environment

How do you use Sentry?
self-hosted/on-premise

Which SDK and version?
.NET Sentry.Extensions.Logging 2.1.6

Steps to Reproduce

I use azure functions and added sentry this way

services.AddLogging(lb =>
            {
                lb.AddSerilog(serilog);
                lb.AddSentry(o =>
                {
                    o.Dsn = --------;
                    o.MinimumEventLevel = ------------;
                    o.Release = ---------;
                    o.ServerName = ----------;
                    o.Environment = --------------;
                });
            });

Expected Result

Because the function is triggered by HTTP requests I would expect tag RequestId to work properly.

Actual Result

Among other tags, I have this
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    QuestionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions