mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-11 15:16:55 +03:00
Add webowi/symfony-monitoring-bundle recipe for 0.1 (#2017)
* Add webowi/symfony-monitoring-bundle recipe for 0.1 * chore: rerun CI * Add webowi/symfony-monitoring-bundle recipe for 0.1 * Add webowi/symfony-monitoring-bundle recipe for 0.1 --------- Co-authored-by: kkedzierski <kamil.kedzierski@univio.com>
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
# Get your project's url and api_key from your Monitoring Webowi project's ingestion-key page
|
||||
# (GET /api/v1/projects/{uuid}/ingestion-key).
|
||||
symfony_monitoring:
|
||||
url: '%env(MONITORING_WEBOWI_URL)%'
|
||||
api_key: '%env(MONITORING_WEBOWI_API_KEY)%'
|
||||
level: error
|
||||
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"bundles": {
|
||||
"Webowi\\SymfonyMonitoringBundle\\SymfonyMonitoringBundle": ["all"]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"MONITORING_WEBOWI_URL": "",
|
||||
"MONITORING_WEBOWI_API_KEY": ""
|
||||
},
|
||||
"post-install-output": [
|
||||
"A config/packages/symfony_monitoring.yaml file has been added with placeholder values.",
|
||||
"",
|
||||
"Set the MONITORING_WEBOWI_URL and MONITORING_WEBOWI_API_KEY environment variables,",
|
||||
"or edit the file directly, using the url and api_key from your Monitoring Webowi",
|
||||
"project's ingestion-key page (GET /api/v1/projects/{uuid}/ingestion-key).",
|
||||
"",
|
||||
"Running this app in Docker? 'localhost' inside your app's container does not reach",
|
||||
"a Monitoring Webowi instance running in a sibling container/stack. Use",
|
||||
"http://host.docker.internal:<port>/... (Docker Desktop on Mac/Windows) instead,",
|
||||
"or the instance's container/service name if both stacks share a Docker network.",
|
||||
"",
|
||||
"No further wiring is needed — this bundle registers its own Monolog handler chain."
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user