Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added SentryAspNetCoreOptions.AdjustStandardEnvironmentNameCasing to … #1057

Conversation

ajbeaven
Copy link
Contributor

…have sentry avoid modifying the case of the standard ASPNET_ENVIRONMENT names when determining the sentry environment.

Fixes #999.

…have sentry avoid modifying the case of the standard ASPNET_ENVIRONMENT names when determining the sentry environment.
@Tyrrrz
Copy link
Contributor

Tyrrrz commented Jun 15, 2021

Also please update Changelog.md with something like this:

- Added SentryAspNetCoreOptions.AdjustStandardEnvironmentNameCasing to control whether to transform the environment name to lower case or to keep it as is. [#1057](https://github.com/getsentry/sentry-dotnet/pull/1057)

Co-authored-by: Alexey Golub <tyrrrrrr@gmail.com>
@codecov-commenter
Copy link

codecov-commenter commented Jun 15, 2021

Codecov Report

Merging #1057 (53323f0) into main (e3bde53) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1057      +/-   ##
==========================================
- Coverage   81.31%   81.30%   -0.01%     
==========================================
  Files         193      193              
  Lines        6335     6338       +3     
  Branches     1527     1528       +1     
==========================================
+ Hits         5151     5153       +2     
  Misses        747      747              
- Partials      437      438       +1     
Impacted Files Coverage Δ
src/Sentry.AspNetCore/SentryAspNetCoreOptions.cs 100.00% <100.00%> (ø)
.../Sentry.AspNetCore/SentryAspNetCoreOptionsSetup.cs 100.00% <100.00%> (ø)
src/Sentry/GlobalSessionManager.cs 64.91% <0.00%> (-0.88%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e3bde53...53323f0. Read the comment docs.

@Tyrrrz
Copy link
Contributor

Tyrrrz commented Jun 16, 2021

@bruno-garcia looks good?

Copy link
Member

@bruno-garcia bruno-garcia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Beautiful! Thanks a lot @ajbeaven

@bruno-garcia bruno-garcia enabled auto-merge (squash) June 16, 2021 21:04
@bruno-garcia bruno-garcia enabled auto-merge (squash) June 17, 2021 14:56
@bruno-garcia bruno-garcia merged commit 7629d30 into getsentry:main Jun 17, 2021
@ajbeaven ajbeaven deleted the feature/add-AdjustStandardEnvironmentNameCasing-dotnetcore-option branch June 17, 2021 21:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Request: please don't change case of environment
4 participants