Create Flex endpoint

This commit is contained in:
github-action[bot]
2026-03-05 22:26:28 +00:00
commit e96f84973a
4 changed files with 183 additions and 0 deletions

View 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"
}
}
}

View 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"
}
}
}

View 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
View 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"
}
}