mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-03-24 00:32:17 +01:00
Create Flex endpoint
This commit is contained in:
47
artprima.prometheus-metrics-bundle.1.0.json
Normal file
47
artprima.prometheus-metrics-bundle.1.0.json
Normal file
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"manifests": {
|
||||
"artprima/prometheus-metrics-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"Artprima\\PrometheusMetricsBundle\\ArtprimaPrometheusMetricsBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/packages/prometheus_metrics.yaml": {
|
||||
"contents": [
|
||||
"artprima_prometheus_metrics:",
|
||||
" namespace: myapp",
|
||||
" type: apcu",
|
||||
" ignored_routes:",
|
||||
" - prometheus_bundle_prometheus",
|
||||
" - _wdt",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/test/prometheus_metrics.yaml": {
|
||||
"contents": [
|
||||
"artprima_prometheus_metrics:",
|
||||
" type: in_memory",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/routes/metrics.yaml": {
|
||||
"contents": [
|
||||
"app_metrics:",
|
||||
" resource: '@ArtprimaPrometheusMetricsBundle/Resources/config/routing.xml'",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "a07f1cab0b63419f2153b744a254d9d6c3d732e9"
|
||||
}
|
||||
}
|
||||
}
|
||||
57
artprima.prometheus-metrics-bundle.1.14.json
Normal file
57
artprima.prometheus-metrics-bundle.1.14.json
Normal file
@@ -0,0 +1,57 @@
|
||||
{
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
||||
57
artprima.prometheus-metrics-bundle.1.21.json
Normal file
57
artprima.prometheus-metrics-bundle.1.21.json
Normal file
@@ -0,0 +1,57 @@
|
||||
{
|
||||
"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.yaml'",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "744712c8112617ad624db495c3dd45336d737377"
|
||||
}
|
||||
}
|
||||
}
|
||||
22
index.json
Normal file
22
index.json
Normal file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"aliases": [],
|
||||
"recipes": {
|
||||
"artprima/prometheus-metrics-bundle": [
|
||||
"1.0",
|
||||
"1.14",
|
||||
"1.21"
|
||||
]
|
||||
},
|
||||
"recipe-conflicts": [],
|
||||
"versions": [],
|
||||
"branch": "main",
|
||||
"is_contrib": true,
|
||||
"_links": {
|
||||
"repository": "github.com/symfony/recipes-contrib",
|
||||
"origin_template": "{package}:{version}@github.com/symfony/recipes-contrib:main",
|
||||
"recipe_template": "https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-1948/{package_dotted}.{version}.json",
|
||||
"recipe_template_relative": "{package_dotted}.{version}.json",
|
||||
"archived_recipes_template": "https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-1948/archived/{package_dotted}/{ref}.json",
|
||||
"archived_recipes_template_relative": "archived/{package_dotted}/{ref}.json"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user