From b888146bd30f403b05c1ac65cdac138682df8fb2 Mon Sep 17 00:00:00 2001 From: Valerio Date: Mon, 2 Aug 2021 19:59:41 +0200 Subject: [PATCH] Recipe for inspector-apm/inspector-symfony (#1171) * add inspector recipe * add inspector recipe * add inspector recipe * add inspector recipe * add inspector recipe * add inspector recipe * add inspector recipe * add inspector recipe * add inspector recipe * add inspector recipe * add inspector recipe * add inspector recipe * add inspector recipe * add inspector recipe * add inspector recipe * add inspector recipe * add inspector recipe * add inspector recipe * add inspector recipe * remove default config parameters --- .../1.0/config/packages/inspector.yaml | 47 +++++++++++++++++++ .../inspector-symfony/1.0/manifest.json | 11 +++++ .../inspector-symfony/1.0/post-install.txt | 6 +++ 3 files changed, 64 insertions(+) create mode 100644 inspector-apm/inspector-symfony/1.0/config/packages/inspector.yaml create mode 100644 inspector-apm/inspector-symfony/1.0/manifest.json create mode 100644 inspector-apm/inspector-symfony/1.0/post-install.txt diff --git a/inspector-apm/inspector-symfony/1.0/config/packages/inspector.yaml b/inspector-apm/inspector-symfony/1.0/config/packages/inspector.yaml new file mode 100644 index 00000000..4c8f9405 --- /dev/null +++ b/inspector-apm/inspector-symfony/1.0/config/packages/inspector.yaml @@ -0,0 +1,47 @@ +inspector: + ingestion_key: '%env(INSPECTOR_INGESTION_KEY)%' + ignore_routes: + - '_wdt' + - '_profiler' + - '_profiler_home' + - '_profiler_search' + - '_profiler_search_bar' + - '_profiler_phpinfo' + - '_profiler_search_results' + - '_profiler_open_file' + - '_profiler_router' + - '_profiler_exception' + - '_profiler_exception_css' + ignore_commands: + - 'debug:autowiring' + - 'debug:config' + - 'debug:container' + - 'debug:event-dispatcher' + - 'debug:form' + - 'debug:router' + - 'debug:translation' + - 'debug:twig' + - 'debug:validator' + - 'make:auth' + - 'make:command' + - 'make:controller' + - 'make:crud' + - 'make:docker:database' + - 'make:entity' + - 'make:fixtures' + - 'make:form' + - 'make:functional-test' + - 'make:message' + - 'make:messenger-middleware' + - 'make:migration' + - 'make:registration-form' + - 'make:reset-password' + - 'make:serializer:encoder' + - 'make:serializer:normalizer' + - 'make:subscriber' + - 'make:test' + - 'make:twig-extension' + - 'make:unit-test' + - 'make:user' + - 'make:validator' + - 'make:voter' diff --git a/inspector-apm/inspector-symfony/1.0/manifest.json b/inspector-apm/inspector-symfony/1.0/manifest.json new file mode 100644 index 00000000..7e8685fe --- /dev/null +++ b/inspector-apm/inspector-symfony/1.0/manifest.json @@ -0,0 +1,11 @@ +{ + "bundles": { + "Inspector\\Symfony\\Bundle\\InspectorBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "env": { + "INSPECTOR_INGESTION_KEY": "" + } +} diff --git a/inspector-apm/inspector-symfony/1.0/post-install.txt b/inspector-apm/inspector-symfony/1.0/post-install.txt new file mode 100644 index 00000000..ef829f9c --- /dev/null +++ b/inspector-apm/inspector-symfony/1.0/post-install.txt @@ -0,0 +1,6 @@ + + Inspector Symfony Bundle + + + * Read the full documentation to properly configure your + Symfony application at https://docs.inspector.dev/