mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-12 07:36:34 +03:00
58 lines
2.3 KiB
JSON
58 lines
2.3 KiB
JSON
{
|
|
"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"
|
|
}
|
|
}
|
|
}
|