Merge pull request #9753 from demarches-simplifiees/skylight_improvements

Tech: améliorations de la configuration de skylight, outil de supervision des performances
This commit is contained in:
LeSim 2023-11-28 14:11:28 +00:00 committed by GitHub
commit ce04c77081
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View file

@ -80,7 +80,7 @@ module TPS
config.ds_zonage_enabled = ENV.fetch("ZONAGE_ENABLED", nil) == "enabled"
config.skylight.probes += [:graphql, :active_job]
config.skylight.probes += [:active_job, :excon, :graphql, :httpclient, :redis]
# Custom Configuration
# @see https://guides.rubyonrails.org/configuring.html#custom-configuration

View file

@ -1,3 +1,5 @@
---
# The authentication token for the application.
authentication: <%= ENV['SKYLIGHT_AUTHENTICATION_KEY'] || '' %>
ignored_endpoints:
- PingController#index