From 3dc9e785011a50ec7f9fc95ef374ba3bdc6dde2b Mon Sep 17 00:00:00 2001 From: "github-action[bot]" <> Date: Wed, 7 Aug 2024 16:28:14 +0000 Subject: [PATCH] Update Flex endpoint --- RECIPES.md | 3 +- ...e59c36a084a3a84de419d9b099b30aca73d4d.json | 74 +++++++++++++++++++ index.json | 3 + zim32.symfony-tracing-core.1.0.json | 74 +++++++++++++++++++ 4 files changed, 153 insertions(+), 1 deletion(-) create mode 100644 archived/zim32.symfony-tracing-core/fd2e59c36a084a3a84de419d9b099b30aca73d4d.json create mode 100644 zim32.symfony-tracing-core.1.0.json diff --git a/RECIPES.md b/RECIPES.md index 1074fb88..f5e28f1d 100644 --- a/RECIPES.md +++ b/RECIPES.md @@ -641,4 +641,5 @@ Additional recipes can be found on the [Main Recipes Repository](https://github. | [zenstruck/redis](https://packagist.org/packages/zenstruck/redis) | [0.1](zenstruck/redis/0.1) | | [zenstruck/signed-url-bundle](https://packagist.org/packages/zenstruck/signed-url-bundle) | [0.1](zenstruck/signed-url-bundle/0.1) | | [zenstruck/twig-service-bundle](https://packagist.org/packages/zenstruck/twig-service-bundle) | [0.2](zenstruck/twig-service-bundle/0.2) | -| [zephyr/allmysms-bundle](https://packagist.org/packages/zephyr/allmysms-bundle) | [1.0](zephyr/allmysms-bundle/1.0) | \ No newline at end of file +| [zephyr/allmysms-bundle](https://packagist.org/packages/zephyr/allmysms-bundle) | [1.0](zephyr/allmysms-bundle/1.0) | +| [zim32/symfony-tracing-core](https://packagist.org/packages/zim32/symfony-tracing-core) | [1.0](zim32/symfony-tracing-core/1.0) | \ No newline at end of file diff --git a/archived/zim32.symfony-tracing-core/fd2e59c36a084a3a84de419d9b099b30aca73d4d.json b/archived/zim32.symfony-tracing-core/fd2e59c36a084a3a84de419d9b099b30aca73d4d.json new file mode 100644 index 00000000..5dc0fc8d --- /dev/null +++ b/archived/zim32.symfony-tracing-core/fd2e59c36a084a3a84de419d9b099b30aca73d4d.json @@ -0,0 +1,74 @@ +{ + "manifests": { + "zim32/symfony-tracing-core": { + "manifest": { + "bundles": { + "Zim\\SymfonyTracingCoreBundle\\SymfonyTracingCoreBundle": [ + "all" + ] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "env": { + "OTLP_EXPORTER_ENDPOINT": "http://some.domain.local:4318/v1/traces" + } + }, + "files": { + "config/packages/tracing.yaml": { + "contents": [ + "tracing:", + " tracers:", + " # For each tracer defined here this bundle will create two services:", + " # 1) One which can be injected as TracerInterface $keyTracer", + " # 2) One which can be injected as ScopedTracerInterface $keyTracer", + " #", + " # F.e. http tracer can be injected as:", + " # TracerInterface $httpTracer", + " # ScopedTracerInterface $httpTracer", + " #", + " # Default tracer can be injected with any name. F.e.:", + " # TracerInterface $anyNameHere", + " #", + " # Usually other tracing bundles will add needed tracers automatically.", + " default: null", + "", + " # You can pass additional \"name\" parameter which will be used when exporting spans for this tracer.", + " # By default, tracer name equals to tracer key.", + "", + "# someTracer:", + "# name: Some custom tracer name", + "", + " span_sampler:", + " # default sampling strategy", + " always_on: null", + "", + " # always_off: null", + "", + " # ratio:", + " # ratio: 0.5", + "", + " # service:", + " # id: App\\Service\\TestSpanSampler", + "", + " # expression:", + " # expression: \"request.query.get('v') == '30'\"", + "", + "", + " exporter:", + " # dummy exporter which uses logger to export spans", + " log:", + " service_name: tracing", + " level: debug", + "", + "# otlp_http:", + "# endpoint: '%env(OTLP_EXPORTER_ENDPOINT)%'", + "" + ], + "executable": false + } + }, + "ref": "fd2e59c36a084a3a84de419d9b099b30aca73d4d" + } + } +} diff --git a/index.json b/index.json index cfaa0094..69419fd8 100644 --- a/index.json +++ b/index.json @@ -2048,6 +2048,9 @@ ], "zephyr/allmysms-bundle": [ "1.0" + ], + "zim32/symfony-tracing-core": [ + "1.0" ] }, "recipe-conflicts": { diff --git a/zim32.symfony-tracing-core.1.0.json b/zim32.symfony-tracing-core.1.0.json new file mode 100644 index 00000000..5dc0fc8d --- /dev/null +++ b/zim32.symfony-tracing-core.1.0.json @@ -0,0 +1,74 @@ +{ + "manifests": { + "zim32/symfony-tracing-core": { + "manifest": { + "bundles": { + "Zim\\SymfonyTracingCoreBundle\\SymfonyTracingCoreBundle": [ + "all" + ] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "env": { + "OTLP_EXPORTER_ENDPOINT": "http://some.domain.local:4318/v1/traces" + } + }, + "files": { + "config/packages/tracing.yaml": { + "contents": [ + "tracing:", + " tracers:", + " # For each tracer defined here this bundle will create two services:", + " # 1) One which can be injected as TracerInterface $keyTracer", + " # 2) One which can be injected as ScopedTracerInterface $keyTracer", + " #", + " # F.e. http tracer can be injected as:", + " # TracerInterface $httpTracer", + " # ScopedTracerInterface $httpTracer", + " #", + " # Default tracer can be injected with any name. F.e.:", + " # TracerInterface $anyNameHere", + " #", + " # Usually other tracing bundles will add needed tracers automatically.", + " default: null", + "", + " # You can pass additional \"name\" parameter which will be used when exporting spans for this tracer.", + " # By default, tracer name equals to tracer key.", + "", + "# someTracer:", + "# name: Some custom tracer name", + "", + " span_sampler:", + " # default sampling strategy", + " always_on: null", + "", + " # always_off: null", + "", + " # ratio:", + " # ratio: 0.5", + "", + " # service:", + " # id: App\\Service\\TestSpanSampler", + "", + " # expression:", + " # expression: \"request.query.get('v') == '30'\"", + "", + "", + " exporter:", + " # dummy exporter which uses logger to export spans", + " log:", + " service_name: tracing", + " level: debug", + "", + "# otlp_http:", + "# endpoint: '%env(OTLP_EXPORTER_ENDPOINT)%'", + "" + ], + "executable": false + } + }, + "ref": "fd2e59c36a084a3a84de419d9b099b30aca73d4d" + } + } +}