mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-12 07:36:34 +03:00
56 lines
2.3 KiB
JSON
56 lines
2.3 KiB
JSON
{
|
|
"manifests": {
|
|
"ijanki/prometheus-bundle": {
|
|
"manifest": {
|
|
"bundles": {
|
|
"Ijanki\\Bundle\\PrometheusBundle\\IjankiPrometheusBundle": [
|
|
"all"
|
|
]
|
|
},
|
|
"copy-from-recipe": {
|
|
"config/": "%CONFIG_DIR%/"
|
|
}
|
|
},
|
|
"files": {
|
|
"config/packages/ijanki_prometheus.yaml": {
|
|
"contents": [
|
|
"ijanki_prometheus:",
|
|
" storage_adapter_service: TweedeGolf\\PrometheusClient\\Storage\\ApcuAdapter",
|
|
" metrics_path: /metrics",
|
|
" collectors:",
|
|
" http_requests_total:",
|
|
" counter:",
|
|
" labels: [url, code]",
|
|
" help: Number of requests",
|
|
" http_request_duration_seconds:",
|
|
" gauge:",
|
|
" labels: [url]",
|
|
" help: Response time",
|
|
" http_request_duration_seconds_bucket:",
|
|
" histogram:",
|
|
" labels: [url]",
|
|
" help: Response times histogram",
|
|
" buckets: [0.1, 0.2, 0.3, 0.5, 0.7, 1, 2, 5, 10, 30, 60]",
|
|
" data_is_fresh:",
|
|
" gauge:",
|
|
" labels: [app, section]",
|
|
" help: is the data fresh",
|
|
""
|
|
],
|
|
"executable": false
|
|
},
|
|
"config/routes/ijanki_prometheus.yaml": {
|
|
"contents": [
|
|
"ijanki_prometheus:",
|
|
" resource: \"@IjankiPrometheusBundle/Resources/config/routing.yml\"",
|
|
" prefix: /",
|
|
""
|
|
],
|
|
"executable": false
|
|
}
|
|
},
|
|
"ref": "ae78a53bfda8545e0835c7ac1a0ca3be155749ef"
|
|
}
|
|
}
|
|
}
|