From 7c0ee1377cd017748d25c70c6ca05c9d2012f2f8 Mon Sep 17 00:00:00 2001 From: "github-action[bot]" <> Date: Sun, 29 Mar 2026 01:41:31 +0000 Subject: [PATCH] Update Flex endpoint --- RECIPES.md | 1 + ...9fd41d51a86345bee3f4ed5205c6351217f73.json | 80 +++++++++++++++++++ index.json | 3 + jmonitor.jmonitor-bundle.1.0.json | 80 +++++++++++++++++++ 4 files changed, 164 insertions(+) create mode 100644 archived/jmonitor.jmonitor-bundle/a0d9fd41d51a86345bee3f4ed5205c6351217f73.json create mode 100644 jmonitor.jmonitor-bundle.1.0.json diff --git a/RECIPES.md b/RECIPES.md index 432eb14d..8f81ec5c 100644 --- a/RECIPES.md +++ b/RECIPES.md @@ -291,6 +291,7 @@ Additional recipes can be found on the [Main Recipes Repository](https://github. | [jbtcd/fitbit-bundle](https://packagist.org/packages/jbtcd/fitbit-bundle) | [1.0](../../../tree/main/jbtcd/fitbit-bundle/1.0) | | [jeandanyel/crud-bundle](https://packagist.org/packages/jeandanyel/crud-bundle) | [0.1](../../../tree/main/jeandanyel/crud-bundle/0.1) | | [jeandanyel/list-bundle](https://packagist.org/packages/jeandanyel/list-bundle) | [0.1](../../../tree/main/jeandanyel/list-bundle/0.1) | +| [jmonitor/jmonitor-bundle](https://packagist.org/packages/jmonitor/jmonitor-bundle) | [1.0](../../../tree/main/jmonitor/jmonitor-bundle/1.0) | | [jmose/command-scheduler-bundle](https://packagist.org/packages/jmose/command-scheduler-bundle) | [2.0](../../../tree/main/jmose/command-scheduler-bundle/2.0) | | [jms/serializer-bundle](https://packagist.org/packages/jms/serializer-bundle) | [4.0](../../../tree/main/jms/serializer-bundle/4.0) | | [jolicode/gif-exception-bundle](https://packagist.org/packages/jolicode/gif-exception-bundle) | [1.0](../../../tree/main/jolicode/gif-exception-bundle/1.0) | diff --git a/archived/jmonitor.jmonitor-bundle/a0d9fd41d51a86345bee3f4ed5205c6351217f73.json b/archived/jmonitor.jmonitor-bundle/a0d9fd41d51a86345bee3f4ed5205c6351217f73.json new file mode 100644 index 00000000..c299e7ea --- /dev/null +++ b/archived/jmonitor.jmonitor-bundle/a0d9fd41d51a86345bee3f4ed5205c6351217f73.json @@ -0,0 +1,80 @@ +{ + "manifests": { + "jmonitor/jmonitor-bundle": { + "manifest": { + "bundles": { + "Jmonitor\\JmonitorBundle\\JmonitorBundle": [ + "dev", + "prod" + ] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "env": { + "JMONITOR_API_KEY": "" + }, + "dotenv": { + "prod": { + "JMONITOR_API_KEY": "" + } + } + }, + "files": { + "config/packages/jmonitor.yaml": { + "contents": [ + "jmonitor:", + " # project_api_key can be empty to disable sending data to Jmonitor", + " # useful for testing pourposes in non-production environments", + " project_api_key: '%env(JMONITOR_API_KEY)%'", + "", + " # Optional (recommended): use a specific logger service (Symfony's default is \"logger\").", + " logger: 'logger'", + "", + " # Optional: provide a custom HTTP client service", + " # http_client: 'http_client'", + "", + "when@dev:", + " jmonitor:", + " collectors:", + " # Start with a basic collector for testing purposes", + " # On non-linux OS, you can use RandomAdapter for testing purposes", + " # system:", + " # enabled: true", + " # adapter: \"Jmonitor\\\\Collector\\\\System\\\\Adapter\\\\RandomAdapter\"", + " system:", + " enabled: true", + "", + "when@prod:", + " jmonitor:", + " # Add collectors configured for production here", + " # Refer to the package documentation for all available collectors: https://github.com/jmonitor/jmonitor-bundle", + " collectors:", + " system:", + " enabled: true", + "" + ], + "executable": false + }, + "config/routes/jmonitor.yaml": { + "contents": [ + "jmonitor_expose_php_metrics:", + " path: '/jmonitor/php-metrics'", + " controller: Jmonitor\\JmonitorBundle\\Controller\\JmonitorPhpController", + "", + "# Secured route in production with localhost host restriction", + "# Refer to symfony docs for more information about security", + "when@prod:", + " jmonitor_expose_php_metrics:", + " path: '/jmonitor/php-metrics'", + " controller: Jmonitor\\JmonitorBundle\\Controller\\JmonitorPhpController", + " host: localhost", + "" + ], + "executable": false + } + }, + "ref": "a0d9fd41d51a86345bee3f4ed5205c6351217f73" + } + } +} diff --git a/index.json b/index.json index 5787142b..af45b7ab 100644 --- a/index.json +++ b/index.json @@ -923,6 +923,9 @@ "jeandanyel/list-bundle": [ "0.1" ], + "jmonitor/jmonitor-bundle": [ + "1.0" + ], "jmose/command-scheduler-bundle": [ "2.0" ], diff --git a/jmonitor.jmonitor-bundle.1.0.json b/jmonitor.jmonitor-bundle.1.0.json new file mode 100644 index 00000000..c299e7ea --- /dev/null +++ b/jmonitor.jmonitor-bundle.1.0.json @@ -0,0 +1,80 @@ +{ + "manifests": { + "jmonitor/jmonitor-bundle": { + "manifest": { + "bundles": { + "Jmonitor\\JmonitorBundle\\JmonitorBundle": [ + "dev", + "prod" + ] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "env": { + "JMONITOR_API_KEY": "" + }, + "dotenv": { + "prod": { + "JMONITOR_API_KEY": "" + } + } + }, + "files": { + "config/packages/jmonitor.yaml": { + "contents": [ + "jmonitor:", + " # project_api_key can be empty to disable sending data to Jmonitor", + " # useful for testing pourposes in non-production environments", + " project_api_key: '%env(JMONITOR_API_KEY)%'", + "", + " # Optional (recommended): use a specific logger service (Symfony's default is \"logger\").", + " logger: 'logger'", + "", + " # Optional: provide a custom HTTP client service", + " # http_client: 'http_client'", + "", + "when@dev:", + " jmonitor:", + " collectors:", + " # Start with a basic collector for testing purposes", + " # On non-linux OS, you can use RandomAdapter for testing purposes", + " # system:", + " # enabled: true", + " # adapter: \"Jmonitor\\\\Collector\\\\System\\\\Adapter\\\\RandomAdapter\"", + " system:", + " enabled: true", + "", + "when@prod:", + " jmonitor:", + " # Add collectors configured for production here", + " # Refer to the package documentation for all available collectors: https://github.com/jmonitor/jmonitor-bundle", + " collectors:", + " system:", + " enabled: true", + "" + ], + "executable": false + }, + "config/routes/jmonitor.yaml": { + "contents": [ + "jmonitor_expose_php_metrics:", + " path: '/jmonitor/php-metrics'", + " controller: Jmonitor\\JmonitorBundle\\Controller\\JmonitorPhpController", + "", + "# Secured route in production with localhost host restriction", + "# Refer to symfony docs for more information about security", + "when@prod:", + " jmonitor_expose_php_metrics:", + " path: '/jmonitor/php-metrics'", + " controller: Jmonitor\\JmonitorBundle\\Controller\\JmonitorPhpController", + " host: localhost", + "" + ], + "executable": false + } + }, + "ref": "a0d9fd41d51a86345bee3f4ed5205c6351217f73" + } + } +}