Skip to content

How to set Sentry Config in asp.net core IMiddleware #1714

@anwarjaved

Description

@anwarjaved

Problem Statement

I want to use same code on multiple domain and want to set different dsn according to domain, so I need to configure sentry dsn for it, is setting SENTRY_DSN and SENTRY_ENVIRONMENT will work for me if I set it in middleware

Solution Brainstorm

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    QuestionFurther information is requested
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions