diff --git a/artprima/prometheus-metrics-bundle/1.14/config/packages/prometheus_metrics.yaml b/artprima/prometheus-metrics-bundle/1.14/config/packages/prometheus_metrics.yaml new file mode 100644 index 00000000..7347ea7c --- /dev/null +++ b/artprima/prometheus-metrics-bundle/1.14/config/packages/prometheus_metrics.yaml @@ -0,0 +1,21 @@ +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 diff --git a/artprima/prometheus-metrics-bundle/1.14/config/routes/metrics.yaml b/artprima/prometheus-metrics-bundle/1.14/config/routes/metrics.yaml new file mode 100644 index 00000000..fa30eee0 --- /dev/null +++ b/artprima/prometheus-metrics-bundle/1.14/config/routes/metrics.yaml @@ -0,0 +1,2 @@ +app_metrics: + resource: '@ArtprimaPrometheusMetricsBundle/Resources/config/routing.xml' diff --git a/artprima/prometheus-metrics-bundle/1.14/manifest.json b/artprima/prometheus-metrics-bundle/1.14/manifest.json new file mode 100644 index 00000000..a4ddefdc --- /dev/null +++ b/artprima/prometheus-metrics-bundle/1.14/manifest.json @@ -0,0 +1,11 @@ +{ + "bundles": { + "Artprima\\PrometheusMetricsBundle\\ArtprimaPrometheusMetricsBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "env": { + "PROM_METRICS_DSN": "apcu" + } +}