mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-14 08:36:34 +03:00
Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e5a301927d |
@@ -1,43 +0,0 @@
|
|||||||
{
|
|
||||||
"manifests": {
|
|
||||||
"cache/cache-bundle": {
|
|
||||||
"manifest": {
|
|
||||||
"bundles": {
|
|
||||||
"Cache\\CacheBundle\\CacheBundle": [
|
|
||||||
"all"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"copy-from-recipe": {
|
|
||||||
"config/": "%CONFIG_DIR%/"
|
|
||||||
},
|
|
||||||
"env": {
|
|
||||||
"SESSION_CACHE_ENABLED": "true",
|
|
||||||
"ROUTER_CACHE_ENABLED": "false"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"files": {
|
|
||||||
"config/packages/cache.yaml": {
|
|
||||||
"contents": [
|
|
||||||
"cache:",
|
|
||||||
" session:",
|
|
||||||
" enabled: \"%env(bool:SESSION_CACHE_ENABLED)%\"",
|
|
||||||
" service_id: \"cache.provider.default\"",
|
|
||||||
" use_tagging: true",
|
|
||||||
" ttl: 7200",
|
|
||||||
" router:",
|
|
||||||
" enabled: \"%env(bool:ROUTER_CACHE_ENABLED)%\"",
|
|
||||||
" service_id: \"cache.provider.default\"",
|
|
||||||
" ttl: 86400",
|
|
||||||
" logging:",
|
|
||||||
" enabled: \"%env(bool:APP_DEBUG)%\"",
|
|
||||||
" logger: \"logger\"",
|
|
||||||
" level: \"info\"",
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"executable": false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"ref": "817d06a0a3bea320ef72beb249285c7988ee9566"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
{
|
|
||||||
"manifests": {
|
|
||||||
"cache/cache-bundle": {
|
|
||||||
"manifest": {
|
|
||||||
"bundles": {
|
|
||||||
"Cache\\CacheBundle\\CacheBundle": [
|
|
||||||
"all"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"post-install-output": [
|
|
||||||
" * Configure the CacheBundle integrations that your app uses:",
|
|
||||||
" <href=https://github.com/php-cache/cache-bundle#configuration>https://github.com/php-cache/cache-bundle#configuration</>"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"files": [],
|
|
||||||
"ref": "18f22d26aefb7526f6098e9d16ad0e3771a42960"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+4
-5
@@ -1,9 +1,8 @@
|
|||||||
{
|
{
|
||||||
"aliases": [],
|
"aliases": [],
|
||||||
"recipes": {
|
"recipes": {
|
||||||
"cache/cache-bundle": [
|
"traceway/opentelemetry-symfony": [
|
||||||
"1.0",
|
"2.1"
|
||||||
"2.0"
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"recipe-conflicts": [],
|
"recipe-conflicts": [],
|
||||||
@@ -13,9 +12,9 @@
|
|||||||
"_links": {
|
"_links": {
|
||||||
"repository": "github.com/symfony/recipes-contrib",
|
"repository": "github.com/symfony/recipes-contrib",
|
||||||
"origin_template": "{package}:{version}@github.com/symfony/recipes-contrib:main",
|
"origin_template": "{package}:{version}@github.com/symfony/recipes-contrib:main",
|
||||||
"recipe_template": "https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-2029/{package_dotted}.{version}.json",
|
"recipe_template": "https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-1991/{package_dotted}.{version}.json",
|
||||||
"recipe_template_relative": "{package_dotted}.{version}.json",
|
"recipe_template_relative": "{package_dotted}.{version}.json",
|
||||||
"archived_recipes_template": "https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-2029/archived/{package_dotted}/{ref}.json",
|
"archived_recipes_template": "https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-1991/archived/{package_dotted}/{ref}.json",
|
||||||
"archived_recipes_template_relative": "archived/{package_dotted}/{ref}.json"
|
"archived_recipes_template_relative": "archived/{package_dotted}/{ref}.json"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,66 @@
|
|||||||
|
{
|
||||||
|
"manifests": {
|
||||||
|
"traceway/opentelemetry-symfony": {
|
||||||
|
"manifest": {
|
||||||
|
"bundles": {
|
||||||
|
"Traceway\\OpenTelemetryBundle\\OpenTelemetryBundle": [
|
||||||
|
"all"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"copy-from-recipe": {
|
||||||
|
"config/": "%CONFIG_DIR%/"
|
||||||
|
},
|
||||||
|
"env": {
|
||||||
|
"#1": "OpenTelemetry SDK auto-initialization",
|
||||||
|
"OTEL_PHP_AUTOLOAD_ENABLED": "true",
|
||||||
|
"#2": "Service identity (shown in your backend)",
|
||||||
|
"OTEL_SERVICE_NAME": "%project_name%",
|
||||||
|
"#3": "Traces exporter: otlp | zipkin | console | none",
|
||||||
|
"OTEL_TRACES_EXPORTER": "otlp",
|
||||||
|
"#4": "Collector or backend endpoint",
|
||||||
|
"OTEL_EXPORTER_OTLP_ENDPOINT": "http://localhost:4318",
|
||||||
|
"#5": "Protocol: http/json | http/protobuf | grpc \u2014 use http/json unless ext-protobuf is installed",
|
||||||
|
"OTEL_EXPORTER_OTLP_PROTOCOL": "http/json"
|
||||||
|
},
|
||||||
|
"post-install-output": [
|
||||||
|
"",
|
||||||
|
" * <fg=blue>OpenTelemetry Symfony Bundle</> is wired and ready to trace your app.",
|
||||||
|
"",
|
||||||
|
" * Verify your wiring:",
|
||||||
|
"",
|
||||||
|
" <comment>$ bin/console traceway:doctor</comment>",
|
||||||
|
"",
|
||||||
|
" * Override <comment>OTEL_*</> environment variables in <comment>.env.local</> to point at your backend.",
|
||||||
|
"",
|
||||||
|
" * Documentation:",
|
||||||
|
"",
|
||||||
|
" <comment>https://github.com/tracewayapp/opentelemetry-symfony-bundle</>"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"files": {
|
||||||
|
"config/packages/open_telemetry.yaml": {
|
||||||
|
"contents": [
|
||||||
|
"open_telemetry:",
|
||||||
|
" traces:",
|
||||||
|
" excluded_paths: ['/_profiler', '/_wdt', '/health']",
|
||||||
|
"",
|
||||||
|
"when@test:",
|
||||||
|
" open_telemetry:",
|
||||||
|
" traces:",
|
||||||
|
" enabled: false",
|
||||||
|
" metrics:",
|
||||||
|
" enabled: false",
|
||||||
|
" logs:",
|
||||||
|
" correlation:",
|
||||||
|
" enabled: false",
|
||||||
|
" export:",
|
||||||
|
" enabled: false",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"ref": "6f6a343b626a4b2dbfcbc0c8e9ae9e467e3058c7"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user