Skip to content

Commit

Permalink
Merge pull request #158 from girder/sentry-traces-type
Browse files Browse the repository at this point in the history
  • Loading branch information
brianhelba authored Oct 6, 2021
2 parents 4ac12eb + 25de719 commit a9fcd39
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion composed_configuration/_sentry.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,6 @@ def mutate_configuration(configuration: Type[ComposedConfiguration]) -> None:

SENTRY_RELEASE = values.Value(None)

SENTRY_TRACES_SAMPLE_RATE = values.Value(None)
# None is a valid default value, but if this is set via environment variable,
# the value must be interpretable as a float
SENTRY_TRACES_SAMPLE_RATE = values.FloatValue(None)

0 comments on commit a9fcd39

Please sign in to comment.