Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

Commit

Permalink
FSPT-123: Trace all requests on pre-prod (#285)
Browse files Browse the repository at this point in the history
* Trace all requests on pre-prod

The production value is based on utils default from: https://github.com/communitiesuk/funding-service-design-utils/blob/b65c285328847640f8622c368595938b60e44d02/fsd_utils/sentry/init_sentry.py#L19C59-L19C63 we could possibly increase this in future, but previously a combination of bot traffic and looping errors have used all our quota.

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
gidsg and pre-commit-ci[bot] authored Dec 11, 2024
1 parent 74fb05f commit b7c5d71
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions copilot/fsd-account-store/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ network:
variables:
SENTRY_DSN: "https://db2ea0ad22a44f4db6e81fe74d85fa8f@o1432034.ingest.sentry.io/4503903103352832"
FLASK_ENV: ${COPILOT_ENVIRONMENT_NAME}
SENTRY_TRACES_SAMPLE_RATE: 1.0


secrets:
SECRET_KEY: /copilot/${COPILOT_APPLICATION_NAME}/${COPILOT_ENVIRONMENT_NAME}/secrets/SECRET_KEY
Expand Down Expand Up @@ -82,3 +84,4 @@ environments:
requests: 30
variables:
FLASK_ENV: production
SENTRY_TRACES_SAMPLE_RATE: 0.02

0 comments on commit b7c5d71

Please sign in to comment.