diff --git a/RECIPES.md b/RECIPES.md index 826d5353..d6dc85f5 100644 --- a/RECIPES.md +++ b/RECIPES.md @@ -23,7 +23,7 @@ Additional recipes can be found on the [Main Recipes Repository](https://github. | [artox-lab/clarc-bundle](https://packagist.org/packages/artox-lab/clarc-bundle) | [0.1](artox-lab/clarc-bundle/0.1) | | [artox-lab/clarc-message-bus-bundle](https://packagist.org/packages/artox-lab/clarc-message-bus-bundle) | [1.0](artox-lab/clarc-message-bus-bundle/1.0) | | [artox-lab/sms-bundle](https://packagist.org/packages/artox-lab/sms-bundle) | [1.0](artox-lab/sms-bundle/1.0) | -| [artprima/prometheus-metrics-bundle](https://packagist.org/packages/artprima/prometheus-metrics-bundle) | [1.0](artprima/prometheus-metrics-bundle/1.0) | +| [artprima/prometheus-metrics-bundle](https://packagist.org/packages/artprima/prometheus-metrics-bundle) | [1.14](artprima/prometheus-metrics-bundle/1.14) | | [assoconnect/mjml-bundle](https://packagist.org/packages/assoconnect/mjml-bundle) | [1.0](assoconnect/mjml-bundle/1.0) | | [async-aws/async-aws-bundle](https://packagist.org/packages/async-aws/async-aws-bundle) | [1.0](async-aws/async-aws-bundle/1.0) | | [atlas/symfony](https://packagist.org/packages/atlas/symfony) | [1.0](atlas/symfony/1.0) | diff --git a/archived/artprima.prometheus-metrics-bundle/9522bce04594caddf6c61ec78c88fea5f5ffa121.json b/archived/artprima.prometheus-metrics-bundle/9522bce04594caddf6c61ec78c88fea5f5ffa121.json new file mode 100644 index 00000000..7dc6e5ae --- /dev/null +++ b/archived/artprima.prometheus-metrics-bundle/9522bce04594caddf6c61ec78c88fea5f5ffa121.json @@ -0,0 +1,57 @@ +{ + "manifests": { + "artprima/prometheus-metrics-bundle": { + "manifest": { + "bundles": { + "Artprima\\PrometheusMetricsBundle\\ArtprimaPrometheusMetricsBundle": [ + "all" + ] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "env": { + "PROM_METRICS_DSN": "apcu" + } + }, + "files": { + "config/packages/prometheus_metrics.yaml": { + "contents": [ + "artprima_prometheus_metrics:", + " namespace: myapp", + " storage: '%env(PROM_METRICS_DSN)%'", + "", + " ignored_routes:", + " - prometheus_bundle_prometheus", + " - _wdt", + "", + " # used to disable default application metrics", + " #disable_default_metrics: false", + "", + " # Recommended to disable default metrics from promphp/prometheus_client_php", + " # see https://github.com/PromPHP/prometheus_client_php/issues/62", + " disable_default_promphp_metrics: true", + "", + " # used to enable console metrics", + " #enable_console_metrics: false", + "", + "when@test:", + " artprima_prometheus_metrics:", + " storage: in_memory", + "" + ], + "executable": false + }, + "config/routes/metrics.yaml": { + "contents": [ + "app_metrics:", + " resource: '@ArtprimaPrometheusMetricsBundle/Resources/config/routing.xml'", + "" + ], + "executable": false + } + }, + "ref": "9522bce04594caddf6c61ec78c88fea5f5ffa121" + } + } +} diff --git a/artprima.prometheus-metrics-bundle.1.14.json b/artprima.prometheus-metrics-bundle.1.14.json new file mode 100644 index 00000000..7dc6e5ae --- /dev/null +++ b/artprima.prometheus-metrics-bundle.1.14.json @@ -0,0 +1,57 @@ +{ + "manifests": { + "artprima/prometheus-metrics-bundle": { + "manifest": { + "bundles": { + "Artprima\\PrometheusMetricsBundle\\ArtprimaPrometheusMetricsBundle": [ + "all" + ] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "env": { + "PROM_METRICS_DSN": "apcu" + } + }, + "files": { + "config/packages/prometheus_metrics.yaml": { + "contents": [ + "artprima_prometheus_metrics:", + " namespace: myapp", + " storage: '%env(PROM_METRICS_DSN)%'", + "", + " ignored_routes:", + " - prometheus_bundle_prometheus", + " - _wdt", + "", + " # used to disable default application metrics", + " #disable_default_metrics: false", + "", + " # Recommended to disable default metrics from promphp/prometheus_client_php", + " # see https://github.com/PromPHP/prometheus_client_php/issues/62", + " disable_default_promphp_metrics: true", + "", + " # used to enable console metrics", + " #enable_console_metrics: false", + "", + "when@test:", + " artprima_prometheus_metrics:", + " storage: in_memory", + "" + ], + "executable": false + }, + "config/routes/metrics.yaml": { + "contents": [ + "app_metrics:", + " resource: '@ArtprimaPrometheusMetricsBundle/Resources/config/routing.xml'", + "" + ], + "executable": false + } + }, + "ref": "9522bce04594caddf6c61ec78c88fea5f5ffa121" + } + } +} diff --git a/index.json b/index.json index e2a461ca..461da757 100644 --- a/index.json +++ b/index.json @@ -59,7 +59,8 @@ "1.0" ], "artprima/prometheus-metrics-bundle": [ - "1.0" + "1.0", + "1.14" ], "assoconnect/mjml-bundle": [ "1.0"