added ijanki bundles

This commit is contained in:
Cesarini, Daniele
2018-09-20 16:45:30 +01:00
parent cd7b0a8979
commit f543e5d4aa
4 changed files with 42 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
{
"bundles": {
"Ijanki\\Bundle\\FtpBundle\\IjankiFtpBundle": [
"all"
]
}
}
@@ -0,0 +1,22 @@
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
@@ -0,0 +1,3 @@
ijanki_prometheus:
resource: "@IjankiPrometheusBundle/Resources/config/routing.yml"
prefix: /
@@ -0,0 +1,10 @@
{
"bundles": {
"Ijanki\\Bundle\\PrometheusBundle\\IjankiPrometheusBundle": [
"all"
]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
}
}