phpkin icon indicating copy to clipboard operation
phpkin copied to clipboard

First production ready, simple and full Zipkin implementation without dependencies.

Results 8 phpkin issues
Sort by recently updated
recently updated
newest added

Related to fork: https://github.com/jamesqin-cn/phpkin/commit/377afde6c44468c585e6d1a16b683cce971bb588 https://github.com/jamesqin-cn/phpkin/commit/85d91d1f0c0a2676a101d132f75251d8031fd3ac

Fork
investigation

https://github.com/whitemerry/phpkin/blob/5dcd9e4e8b7c7244539830669aefdea924902d8f/composer.json#L15

bug

public function zipkin_timestamp() { $str = microtime(); $fstr = substr($str,11,10).substr($str,2,6); return $fstr; }

bug

For some reason, I need access to the spans array in the Tracer object, any chance of making the spans property public, or creating a getter function? any aversions on...

enhancement

Send the request and close the connection, what do you think about this approach? https://stackoverflow.com/a/3945465/2229550

in tracer.php ```php $span = new Span( TracerInfo::getTraceSpanId(), $this->name, new AnnotationBlock( $this->endpoint, $this->startTimestamp, zipkin_timestamp(), AnnotationBlock::SERVER ) ); ``` in span.php ```php $this->setIdentifier('parentId', $parentId, [TracerInfo::class, 'getTraceSpanId']); ``` when tracer type is...

AnnotationBlock is a bit confusing to me. Primarily, it encapsulates the duration between send and receive or visa versa. This is the same as Span. For example, Span with kind...