Skip to content

AWS Lambda integration overwrite environment variables #46376

@cristiansandru11

Description

@cristiansandru11

Problem Statement

Please provide a way of setting SENTRY_TRACES_SAMPLE_RATE to a custom value.

I have more than 100 lambdas and is hard to modify this value manually as it's written in the documentation

Already tried to set the environment variable on lambda before enabling the integration, but it's always overwritten when enabling the integration

Solution Brainstorm

Check if lambda has already this environment variable configured and if yes, don't overwrite it

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions