{"repo":"openzipkin/zipkin-php","free":true,"listed":false,"github":"https://github.com/openzipkin/zipkin-php","clone":"git clone https://github.com/openzipkin/zipkin-php.git","description":"Zipkin instrumentation for PHP","language":"PHP","stars":277,"topics":["zipkin","php","openzipkin","instrumentation","distributed-tracing","observability","hacktoberfest"],"license":"Apache-2.0","category":"analytics","readme_excerpt":"Zipkin PHP Zipkin PHP is the official PHP Tracer implementation for Zipkin, supported by the OpenZipkin community. Installation Setup Obs. for a more complete frontend/backend example, check this repository. Tracing The tracer creates and joins spans that model the latency of potentially distributed work. It can employ sampling to reduce overhead in process or to reduce the amount of data sent to Zipkin. Spans returned by a tracer report data to Zipkin when finished, or do nothing if unsampled. After starting a span, you can annotate events of interest or add tags containing details or lookup keys. Spans have a context which includes trace identifiers that place it at the correct spot in the tree representing the distributed operation. Local Tracing When tracing local code, just run it inside a span In the above example, the span is the root of the trace. In many cases, you will be a part of an existing trace. When this is the case, call newChild instead of newTrace Customizing spans Once you have a span, you can add tags to it, which can be used as lookup keys or details. For example, you might add a tag with your runtime version. RPC tracing RPC tracing is often done automatically by interceptors. Under the scenes, they add tags and events that relate to their role in an RPC operation. Here's an example of a client span: Sampling Sampling may be employed to reduce the data collected and reported out of process. When a span isn't sampled, it adds no overhead (noop). Sampling","default_branch":null,"files":null,"tree":[],"storefront":"/r/openzipkin","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/openzipkin/zipkin-php/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}