mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-03-23 16:22:19 +01:00
Update prometheus metrics bundle (#1416)
* Update recipes for artprima/prometheus v1.14 (artprima/prometheus-metrics-bundle#75) * Add new line at the end of config file
This commit is contained in:
committed by
GitHub
parent
55bdc3012b
commit
d60e433810
@@ -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
|
||||
@@ -0,0 +1,2 @@
|
||||
app_metrics:
|
||||
resource: '@ArtprimaPrometheusMetricsBundle/Resources/config/routing.xml'
|
||||
11
artprima/prometheus-metrics-bundle/1.14/manifest.json
Normal file
11
artprima/prometheus-metrics-bundle/1.14/manifest.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"bundles": {
|
||||
"Artprima\\PrometheusMetricsBundle\\ArtprimaPrometheusMetricsBundle": ["all"]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"PROM_METRICS_DSN": "apcu"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user