mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-12 07:36:34 +03:00
Update Flex endpoint
This commit is contained in:
@@ -0,0 +1,71 @@
|
||||
{
|
||||
"manifests": {
|
||||
"sentry/sentry-symfony": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"Sentry\\SentryBundle\\SentryBundle": [
|
||||
"prod"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"SENTRY_DSN": ""
|
||||
},
|
||||
"conflict": {
|
||||
"symfony/framework-bundle": "<5.4",
|
||||
"symfony/monolog-bundle": "<3.7"
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/packages/sentry.yaml": {
|
||||
"contents": [
|
||||
"when@prod:",
|
||||
" sentry:",
|
||||
" dsn: '%env(SENTRY_DSN)%'",
|
||||
" options:",
|
||||
" # Add request headers, cookies, IP address and the authenticated user",
|
||||
" # see https://docs.sentry.io/platforms/php/data-management/data-collected/ for more info",
|
||||
" # send_default_pii: true",
|
||||
" ignore_exceptions:",
|
||||
" - 'Symfony\\Component\\ErrorHandler\\Error\\FatalError'",
|
||||
" - 'Symfony\\Component\\Debug\\Exception\\FatalErrorException'",
|
||||
"#",
|
||||
"# # If you are using Monolog, you also need this additional configuration to log the errors correctly:",
|
||||
"# # https://docs.sentry.io/platforms/php/guides/symfony/integrations/monolog/",
|
||||
"# register_error_listener: false",
|
||||
"# register_error_handler: false",
|
||||
"#",
|
||||
"# monolog:",
|
||||
"# handlers:",
|
||||
"# # Use this only if you don't want to use structured logging and instead receive",
|
||||
"# # certain log levels as errors. ",
|
||||
"# sentry:",
|
||||
"# type: service",
|
||||
"# id: Sentry\\Monolog\\Handler",
|
||||
"#",
|
||||
"# # Use this for structured log integration",
|
||||
"# sentry_logs:",
|
||||
"# type: service",
|
||||
"# id: Sentry\\SentryBundle\\Monolog\\LogsHandler",
|
||||
"#",
|
||||
"# # Enable one of the two services below, depending on your choice above",
|
||||
"# services:",
|
||||
"# Sentry\\Monolog\\Handler:",
|
||||
"# arguments:",
|
||||
"# $hub: '@Sentry\\State\\HubInterface'",
|
||||
"# $level: !php/const Monolog\\Logger::ERROR",
|
||||
"# $fillExtraContext: true # Enables sending monolog context to Sentry",
|
||||
"# Sentry\\SentryBundle\\Monolog\\LogsHandler:",
|
||||
"# arguments:",
|
||||
"# - !php/const Monolog\\Logger::INFO",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "12f504985eb24e3b20a9e41e0ec7e398798d18f0"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,60 @@
|
||||
{
|
||||
"manifests": {
|
||||
"sentry/sentry-symfony": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"Sentry\\SentryBundle\\SentryBundle": [
|
||||
"prod"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"SENTRY_DSN": ""
|
||||
},
|
||||
"conflict": {
|
||||
"symfony/framework-bundle": "<5.4"
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/packages/sentry.yaml": {
|
||||
"contents": [
|
||||
"when@prod:",
|
||||
" sentry:",
|
||||
" dsn: '%env(SENTRY_DSN)%'",
|
||||
"",
|
||||
"# If you are using Monolog, you also need this additional configuration to log the errors correctly:",
|
||||
"# https://docs.sentry.io/platforms/php/guides/symfony/integrations/monolog/",
|
||||
"# register_error_listener: false",
|
||||
"",
|
||||
"# monolog:",
|
||||
"# handlers:",
|
||||
"# sentry:",
|
||||
"# type: sentry",
|
||||
"# level: !php/const Monolog\\Logger::ERROR",
|
||||
"# hub_id: Sentry\\State\\HubInterface",
|
||||
"",
|
||||
"# If you are using MonologBundle prior to v3.7, you need to configure the handler as a service instead:",
|
||||
"",
|
||||
"# monolog:",
|
||||
"# handlers:",
|
||||
"# sentry:",
|
||||
"# type: service",
|
||||
"# id: Sentry\\Monolog\\Handler",
|
||||
"",
|
||||
"# services:",
|
||||
"# Sentry\\Monolog\\Handler:",
|
||||
"# arguments:",
|
||||
"# $hub: '@Sentry\\State\\HubInterface'",
|
||||
"# $level: !php/const Monolog\\Logger::ERROR",
|
||||
"# $bubble: false",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "427518bbd43bc4871808e648310865965159ac5c"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,59 @@
|
||||
{
|
||||
"manifests": {
|
||||
"sentry/sentry-symfony": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"Sentry\\SentryBundle\\SentryBundle": [
|
||||
"prod"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"SENTRY_DSN": ""
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/packages/prod/sentry.yaml": {
|
||||
"contents": [
|
||||
"sentry:",
|
||||
" dsn: '%env(SENTRY_DSN)%'",
|
||||
" options:",
|
||||
" excluded_exceptions:",
|
||||
" - Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException",
|
||||
" - Symfony\\Component\\Security\\Core\\Exception\\AccessDeniedException",
|
||||
"",
|
||||
"# If you are using Monolog, you also need this additional configuration to log the errors correctly:",
|
||||
"# https://docs.sentry.io/platforms/php/guides/symfony/integrations/monolog/",
|
||||
"# register_error_listener: false",
|
||||
"",
|
||||
"# monolog:",
|
||||
"# handlers:",
|
||||
"# sentry:",
|
||||
"# type: sentry",
|
||||
"# level: !php/const Monolog\\Logger::ERROR",
|
||||
"# hub_id: Sentry\\State\\HubInterface",
|
||||
"",
|
||||
"# If you are using MonologBundle prior to v3.7, you need to configure the handler as a service instead:",
|
||||
"",
|
||||
"# monolog:",
|
||||
"# handlers:",
|
||||
"# sentry:",
|
||||
"# type: service",
|
||||
"# id: Sentry\\Monolog\\Handler",
|
||||
"",
|
||||
"# services:",
|
||||
"# Sentry\\Monolog\\Handler:",
|
||||
"# arguments:",
|
||||
"# $hub: '@Sentry\\State\\HubInterface'",
|
||||
"# $level: !php/const Monolog\\Logger::ERROR",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "5befdf498fcd5555bfdef80bf737c7f9f6f37077"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,54 @@
|
||||
{
|
||||
"manifests": {
|
||||
"sentry/sentry-symfony": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"Sentry\\SentryBundle\\SentryBundle": [
|
||||
"prod"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"SENTRY_DSN": ""
|
||||
},
|
||||
"conflict": {
|
||||
"symfony/framework-bundle": "<5.4",
|
||||
"symfony/monolog-bundle": "<3.7"
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/packages/sentry.yaml": {
|
||||
"contents": [
|
||||
"when@prod:",
|
||||
" sentry:",
|
||||
" dsn: '%env(SENTRY_DSN)%'",
|
||||
" # this hooks into critical paths of the framework (and vendors) to perform",
|
||||
" # automatic instrumentation (there might be some performance penalty)",
|
||||
" # https://docs.sentry.io/platforms/php/guides/symfony/performance/instrumentation/automatic-instrumentation/",
|
||||
" tracing:",
|
||||
" enabled: false",
|
||||
"",
|
||||
"# If you are using Monolog, you also need this additional configuration to log the errors correctly:",
|
||||
"# https://docs.sentry.io/platforms/php/guides/symfony/integrations/monolog/",
|
||||
"# register_error_listener: false",
|
||||
"# register_error_handler: false",
|
||||
"",
|
||||
"# monolog:",
|
||||
"# handlers:",
|
||||
"# sentry:",
|
||||
"# type: sentry",
|
||||
"# level: !php/const Monolog\\Logger::ERROR",
|
||||
"# hub_id: Sentry\\State\\HubInterface",
|
||||
"# fill_extra_context: true # Enables sending monolog context to Sentry",
|
||||
"# process_psr_3_messages: false # Disables the resolution of PSR-3 placeholders",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "9ce177d985f35c9d2a29478fa1de79b7749ee3bf"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -25,7 +25,7 @@
|
||||
" - Symfony\\Component\\Security\\Core\\Exception\\AccessDeniedException",
|
||||
"",
|
||||
"# If you are using Monolog, you also need this additional configuration to log the errors correctly:",
|
||||
"# https://docs.sentry.io/platforms/php/guides/symfony/#monolog-integration",
|
||||
"# https://docs.sentry.io/platforms/php/guides/symfony/integrations/monolog/",
|
||||
"# register_error_listener: false",
|
||||
"",
|
||||
"# monolog:",
|
||||
@@ -53,7 +53,7 @@
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "31024cb40a800443dc032ce8b463b73879a7942a"
|
||||
"ref": "5befdf498fcd5555bfdef80bf737c7f9f6f37077"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
" dsn: '%env(SENTRY_DSN)%'",
|
||||
"",
|
||||
"# If you are using Monolog, you also need this additional configuration to log the errors correctly:",
|
||||
"# https://docs.sentry.io/platforms/php/guides/symfony/#monolog-integration",
|
||||
"# https://docs.sentry.io/platforms/php/guides/symfony/integrations/monolog/",
|
||||
"# register_error_listener: false",
|
||||
"",
|
||||
"# monolog:",
|
||||
@@ -54,7 +54,7 @@
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "27b184582b31a79a21f461df82fd8a0eaba658ff"
|
||||
"ref": "427518bbd43bc4871808e648310865965159ac5c"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
" enabled: false",
|
||||
"",
|
||||
"# If you are using Monolog, you also need this additional configuration to log the errors correctly:",
|
||||
"# https://docs.sentry.io/platforms/php/guides/symfony/#monolog-integration",
|
||||
"# https://docs.sentry.io/platforms/php/guides/symfony/integrations/monolog/",
|
||||
"# register_error_listener: false",
|
||||
"# register_error_handler: false",
|
||||
"",
|
||||
@@ -48,7 +48,7 @@
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "3cbed34d60ded4d22d10b43cd08bb463a6f4ce26"
|
||||
"ref": "9ce177d985f35c9d2a29478fa1de79b7749ee3bf"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
" - 'Symfony\\Component\\Debug\\Exception\\FatalErrorException'",
|
||||
"#",
|
||||
"# # If you are using Monolog, you also need this additional configuration to log the errors correctly:",
|
||||
"# # https://docs.sentry.io/platforms/php/guides/symfony/#monolog-integration",
|
||||
"# # https://docs.sentry.io/platforms/php/guides/symfony/integrations/monolog/",
|
||||
"# register_error_listener: false",
|
||||
"# register_error_handler: false",
|
||||
"#",
|
||||
@@ -65,7 +65,7 @@
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "b01478ecd8dc691c7b11e88dc39c1de1148d1b51"
|
||||
"ref": "12f504985eb24e3b20a9e41e0ec7e398798d18f0"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user