From 8f3646a9c93a06f76f6abb31020fdb74b4b1fc59 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 9 Apr 2023 20:50:33 +0300 Subject: exp: jaeger tracing --- .../jaeger-client-php/examples/config.php | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 vendor/jonahgeorge/jaeger-client-php/examples/config.php (limited to 'vendor/jonahgeorge/jaeger-client-php/examples/config.php') diff --git a/vendor/jonahgeorge/jaeger-client-php/examples/config.php b/vendor/jonahgeorge/jaeger-client-php/examples/config.php new file mode 100644 index 000000000..5c4726165 --- /dev/null +++ b/vendor/jonahgeorge/jaeger-client-php/examples/config.php @@ -0,0 +1,26 @@ + [ + 'type' => Jaeger\SAMPLER_TYPE_CONST, + 'param' => true, + ], + 'logging' => true, + "tags" => [ + // process. prefix works only with JAEGER_OVER_HTTP, JAEGER_OVER_BINARY + // otherwise it will be shown as simple global tag + "process.process-tag-key-1" => "process-value-1", // all tags with `process.` prefix goes to process section + "process.process-tag-key-2" => "process-value-2", // all tags with `process.` prefix goes to process section + "global-tag-key-1" => "global-tag-value-1", // this tag will be appended to all spans + "global-tag-key-2" => "global-tag-value-2", // this tag will be appended to all spans + ], + "local_agent" => [ + "reporting_host" => "localhost", +// You can override port by setting local_agent.reporting_port value +// "reporting_port" => 6832 + ], +// Different ways to send data to Jaeger. Config::ZIPKIN_OVER_COMPACT - default): + 'dispatch_mode' => Config::JAEGER_OVER_BINARY_UDP, +]; -- cgit v1.2.3