diff --git a/RECIPES.md b/RECIPES.md index bfc1c4bb..8f52a7aa 100644 --- a/RECIPES.md +++ b/RECIPES.md @@ -43,7 +43,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](../../../tree/main/artox-lab/clarc-bundle/0.1) | | [artox-lab/clarc-message-bus-bundle](https://packagist.org/packages/artox-lab/clarc-message-bus-bundle) | [1.0](../../../tree/main/artox-lab/clarc-message-bus-bundle/1.0) | | [artox-lab/sms-bundle](https://packagist.org/packages/artox-lab/sms-bundle) | [1.0](../../../tree/main/artox-lab/sms-bundle/1.0) | -| [artprima/prometheus-metrics-bundle](https://packagist.org/packages/artprima/prometheus-metrics-bundle) | [1.14](../../../tree/main/artprima/prometheus-metrics-bundle/1.14) | +| [artprima/prometheus-metrics-bundle](https://packagist.org/packages/artprima/prometheus-metrics-bundle) | [1.21](../../../tree/main/artprima/prometheus-metrics-bundle/1.21) | | [artyuum/request-dto-mapper-bundle](https://packagist.org/packages/artyuum/request-dto-mapper-bundle) | [1.0](../../../tree/main/artyuum/request-dto-mapper-bundle/1.0) | | [assoconnect/mjml-bundle](https://packagist.org/packages/assoconnect/mjml-bundle) | [1.0](../../../tree/main/assoconnect/mjml-bundle/1.0) | | [async-aws/async-aws-bundle](https://packagist.org/packages/async-aws/async-aws-bundle) | [1.0](../../../tree/main/async-aws/async-aws-bundle/1.0) | diff --git a/archived/artprima.prometheus-metrics-bundle/744712c8112617ad624db495c3dd45336d737377.json b/archived/artprima.prometheus-metrics-bundle/744712c8112617ad624db495c3dd45336d737377.json new file mode 100644 index 00000000..2a558a66 --- /dev/null +++ b/archived/artprima.prometheus-metrics-bundle/744712c8112617ad624db495c3dd45336d737377.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.yaml'", + "" + ], + "executable": false + } + }, + "ref": "744712c8112617ad624db495c3dd45336d737377" + } + } +} diff --git a/artprima.prometheus-metrics-bundle.1.21.json b/artprima.prometheus-metrics-bundle.1.21.json new file mode 100644 index 00000000..2a558a66 --- /dev/null +++ b/artprima.prometheus-metrics-bundle.1.21.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.yaml'", + "" + ], + "executable": false + } + }, + "ref": "744712c8112617ad624db495c3dd45336d737377" + } + } +} diff --git a/index.json b/index.json index 54fe7300..cf02763a 100644 --- a/index.json +++ b/index.json @@ -123,7 +123,8 @@ ], "artprima/prometheus-metrics-bundle": [ "1.0", - "1.14" + "1.14", + "1.21" ], "artyuum/request-dto-mapper-bundle": [ "1.0"