diff options
Diffstat (limited to 'vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent')
42 files changed, 0 insertions, 2902 deletions
diff --git a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/AgentClient.php b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/AgentClient.php deleted file mode 100644 index 640df4598..000000000 --- a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/AgentClient.php +++ /dev/null @@ -1,76 +0,0 @@ -<?php -namespace Jaeger\Thrift\Agent; -/** - * Autogenerated by Thrift Compiler (0.11.0) - * - * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING - * @generated - */ -use Thrift\Base\TBase; -use Thrift\Type\TType; -use Thrift\Type\TMessageType; -use Thrift\Exception\TException; -use Thrift\Exception\TProtocolException; -use Thrift\Protocol\TProtocol; -use Thrift\Protocol\TBinaryProtocolAccelerated; -use Thrift\Exception\TApplicationException; - - -class AgentClient implements \Jaeger\Thrift\Agent\AgentIf { - protected $input_ = null; - protected $output_ = null; - - protected $seqid_ = 0; - - public function __construct($input, $output=null) { - $this->input_ = $input; - $this->output_ = $output ? $output : $input; - } - - public function emitZipkinBatch(array $spans) - { - $this->send_emitZipkinBatch($spans); - } - - public function send_emitZipkinBatch(array $spans) - { - $args = new \Jaeger\Thrift\Agent\Agent_emitZipkinBatch_args(); - $args->spans = $spans; - $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); - if ($bin_accel) - { - thrift_protocol_write_binary($this->output_, 'emitZipkinBatch', TMessageType::ONEWAY, $args, $this->seqid_, $this->output_->isStrictWrite()); - } - else - { - $this->output_->writeMessageBegin('emitZipkinBatch', TMessageType::ONEWAY, $this->seqid_); - $args->write($this->output_); - $this->output_->writeMessageEnd(); - $this->output_->getTransport()->flush(); - } - } - public function emitBatch(\Jaeger\Thrift\Batch $batch) - { - $this->send_emitBatch($batch); - } - - public function send_emitBatch(\Jaeger\Thrift\Batch $batch) - { - $args = new \Jaeger\Thrift\Agent\Agent_emitBatch_args(); - $args->batch = $batch; - $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); - if ($bin_accel) - { - thrift_protocol_write_binary($this->output_, 'emitBatch', TMessageType::ONEWAY, $args, $this->seqid_, $this->output_->isStrictWrite()); - } - else - { - $this->output_->writeMessageBegin('emitBatch', TMessageType::ONEWAY, $this->seqid_); - $args->write($this->output_); - $this->output_->writeMessageEnd(); - $this->output_->getTransport()->flush(); - } - } -} - - diff --git a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/AgentIf.php b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/AgentIf.php deleted file mode 100644 index 30efc8cf3..000000000 --- a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/AgentIf.php +++ /dev/null @@ -1,30 +0,0 @@ -<?php -namespace Jaeger\Thrift\Agent; -/** - * Autogenerated by Thrift Compiler (0.11.0) - * - * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING - * @generated - */ -use Thrift\Base\TBase; -use Thrift\Type\TType; -use Thrift\Type\TMessageType; -use Thrift\Exception\TException; -use Thrift\Exception\TProtocolException; -use Thrift\Protocol\TProtocol; -use Thrift\Protocol\TBinaryProtocolAccelerated; -use Thrift\Exception\TApplicationException; - - -interface AgentIf { - /** - * @param \Jaeger\Thrift\Agent\Zipkin\Span[] $spans - */ - public function emitZipkinBatch(array $spans); - /** - * @param \Jaeger\Thrift\Batch $batch - */ - public function emitBatch(\Jaeger\Thrift\Batch $batch); -} - - diff --git a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Agent_emitBatch_args.php b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Agent_emitBatch_args.php deleted file mode 100644 index 9d11b409c..000000000 --- a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Agent_emitBatch_args.php +++ /dev/null @@ -1,56 +0,0 @@ -<?php -namespace Jaeger\Thrift\Agent; -/** - * Autogenerated by Thrift Compiler (0.11.0) - * - * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING - * @generated - */ -use Thrift\Base\TBase; -use Thrift\Type\TType; -use Thrift\Type\TMessageType; -use Thrift\Exception\TException; -use Thrift\Exception\TProtocolException; -use Thrift\Protocol\TProtocol; -use Thrift\Protocol\TBinaryProtocolAccelerated; -use Thrift\Exception\TApplicationException; - - -class Agent_emitBatch_args extends TBase { - static $isValidate = false; - - static $_TSPEC = array( - 1 => array( - 'var' => 'batch', - 'isRequired' => false, - 'type' => TType::STRUCT, - 'class' => '\Jaeger\Thrift\Batch', - ), - ); - - /** - * @var \Jaeger\Thrift\Batch - */ - public $batch = null; - - public function __construct($vals=null) { - if (is_array($vals)) { - parent::__construct(self::$_TSPEC, $vals); - } - } - - public function getName() { - return 'Agent_emitBatch_args'; - } - - public function read($input) - { - return $this->_read('Agent_emitBatch_args', self::$_TSPEC, $input); - } - - public function write($output) { - return $this->_write('Agent_emitBatch_args', self::$_TSPEC, $output); - } - -} - diff --git a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Agent_emitZipkinBatch_args.php b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Agent_emitZipkinBatch_args.php deleted file mode 100644 index cc58527bb..000000000 --- a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Agent_emitZipkinBatch_args.php +++ /dev/null @@ -1,60 +0,0 @@ -<?php -namespace Jaeger\Thrift\Agent; -/** - * Autogenerated by Thrift Compiler (0.11.0) - * - * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING - * @generated - */ -use Thrift\Base\TBase; -use Thrift\Type\TType; -use Thrift\Type\TMessageType; -use Thrift\Exception\TException; -use Thrift\Exception\TProtocolException; -use Thrift\Protocol\TProtocol; -use Thrift\Protocol\TBinaryProtocolAccelerated; -use Thrift\Exception\TApplicationException; - - -class Agent_emitZipkinBatch_args extends TBase { - static $isValidate = false; - - static $_TSPEC = array( - 1 => array( - 'var' => 'spans', - 'isRequired' => false, - 'type' => TType::LST, - 'etype' => TType::STRUCT, - 'elem' => array( - 'type' => TType::STRUCT, - 'class' => '\Jaeger\Thrift\Agent\Zipkin\Span', - ), - ), - ); - - /** - * @var \Jaeger\Thrift\Agent\Zipkin\Span[] - */ - public $spans = null; - - public function __construct($vals=null) { - if (is_array($vals)) { - parent::__construct(self::$_TSPEC, $vals); - } - } - - public function getName() { - return 'Agent_emitZipkinBatch_args'; - } - - public function read($input) - { - return $this->_read('Agent_emitZipkinBatch_args', self::$_TSPEC, $input); - } - - public function write($output) { - return $this->_write('Agent_emitZipkinBatch_args', self::$_TSPEC, $output); - } - -} - diff --git a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/AggregationValidatorClient.php b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/AggregationValidatorClient.php deleted file mode 100644 index 73825978a..000000000 --- a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/AggregationValidatorClient.php +++ /dev/null @@ -1,83 +0,0 @@ -<?php -namespace Jaeger\Thrift\Agent; -/** - * Autogenerated by Thrift Compiler (0.11.0) - * - * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING - * @generated - */ -use Thrift\Base\TBase; -use Thrift\Type\TType; -use Thrift\Type\TMessageType; -use Thrift\Exception\TException; -use Thrift\Exception\TProtocolException; -use Thrift\Protocol\TProtocol; -use Thrift\Protocol\TBinaryProtocolAccelerated; -use Thrift\Exception\TApplicationException; - - -class AggregationValidatorClient implements \Jaeger\Thrift\Agent\AggregationValidatorIf { - protected $input_ = null; - protected $output_ = null; - - protected $seqid_ = 0; - - public function __construct($input, $output=null) { - $this->input_ = $input; - $this->output_ = $output ? $output : $input; - } - - public function validateTrace($traceId) - { - $this->send_validateTrace($traceId); - return $this->recv_validateTrace(); - } - - public function send_validateTrace($traceId) - { - $args = new \Jaeger\Thrift\Agent\AggregationValidator_validateTrace_args(); - $args->traceId = $traceId; - $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); - if ($bin_accel) - { - thrift_protocol_write_binary($this->output_, 'validateTrace', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); - } - else - { - $this->output_->writeMessageBegin('validateTrace', TMessageType::CALL, $this->seqid_); - $args->write($this->output_); - $this->output_->writeMessageEnd(); - $this->output_->getTransport()->flush(); - } - } - - public function recv_validateTrace() - { - $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); - if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\Jaeger\Thrift\Agent\AggregationValidator_validateTrace_result', $this->input_->isStrictRead()); - else - { - $rseqid = 0; - $fname = null; - $mtype = 0; - - $this->input_->readMessageBegin($fname, $mtype, $rseqid); - if ($mtype == TMessageType::EXCEPTION) { - $x = new TApplicationException(); - $x->read($this->input_); - $this->input_->readMessageEnd(); - throw $x; - } - $result = new \Jaeger\Thrift\Agent\AggregationValidator_validateTrace_result(); - $result->read($this->input_); - $this->input_->readMessageEnd(); - } - if ($result->success !== null) { - return $result->success; - } - throw new \Exception("validateTrace failed: unknown result"); - } - -} - - diff --git a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/AggregationValidatorIf.php b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/AggregationValidatorIf.php deleted file mode 100644 index 853cd2a4f..000000000 --- a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/AggregationValidatorIf.php +++ /dev/null @@ -1,27 +0,0 @@ -<?php -namespace Jaeger\Thrift\Agent; -/** - * Autogenerated by Thrift Compiler (0.11.0) - * - * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING - * @generated - */ -use Thrift\Base\TBase; -use Thrift\Type\TType; -use Thrift\Type\TMessageType; -use Thrift\Exception\TException; -use Thrift\Exception\TProtocolException; -use Thrift\Protocol\TProtocol; -use Thrift\Protocol\TBinaryProtocolAccelerated; -use Thrift\Exception\TApplicationException; - - -interface AggregationValidatorIf { - /** - * @param string $traceId - * @return \Jaeger\Thrift\Agent\ValidateTraceResponse - */ - public function validateTrace($traceId); -} - - diff --git a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/AggregationValidator_validateTrace_args.php b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/AggregationValidator_validateTrace_args.php deleted file mode 100644 index 2f4d1171c..000000000 --- a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/AggregationValidator_validateTrace_args.php +++ /dev/null @@ -1,55 +0,0 @@ -<?php -namespace Jaeger\Thrift\Agent; -/** - * Autogenerated by Thrift Compiler (0.11.0) - * - * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING - * @generated - */ -use Thrift\Base\TBase; -use Thrift\Type\TType; -use Thrift\Type\TMessageType; -use Thrift\Exception\TException; -use Thrift\Exception\TProtocolException; -use Thrift\Protocol\TProtocol; -use Thrift\Protocol\TBinaryProtocolAccelerated; -use Thrift\Exception\TApplicationException; - - -class AggregationValidator_validateTrace_args extends TBase { - static $isValidate = false; - - static $_TSPEC = array( - 1 => array( - 'var' => 'traceId', - 'isRequired' => true, - 'type' => TType::STRING, - ), - ); - - /** - * @var string - */ - public $traceId = null; - - public function __construct($vals=null) { - if (is_array($vals)) { - parent::__construct(self::$_TSPEC, $vals); - } - } - - public function getName() { - return 'AggregationValidator_validateTrace_args'; - } - - public function read($input) - { - return $this->_read('AggregationValidator_validateTrace_args', self::$_TSPEC, $input); - } - - public function write($output) { - return $this->_write('AggregationValidator_validateTrace_args', self::$_TSPEC, $output); - } - -} - diff --git a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/AggregationValidator_validateTrace_result.php b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/AggregationValidator_validateTrace_result.php deleted file mode 100644 index 6060c5ae3..000000000 --- a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/AggregationValidator_validateTrace_result.php +++ /dev/null @@ -1,56 +0,0 @@ -<?php -namespace Jaeger\Thrift\Agent; -/** - * Autogenerated by Thrift Compiler (0.11.0) - * - * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING - * @generated - */ -use Thrift\Base\TBase; -use Thrift\Type\TType; -use Thrift\Type\TMessageType; -use Thrift\Exception\TException; -use Thrift\Exception\TProtocolException; -use Thrift\Protocol\TProtocol; -use Thrift\Protocol\TBinaryProtocolAccelerated; -use Thrift\Exception\TApplicationException; - - -class AggregationValidator_validateTrace_result extends TBase { - static $isValidate = false; - - static $_TSPEC = array( - 0 => array( - 'var' => 'success', - 'isRequired' => false, - 'type' => TType::STRUCT, - 'class' => '\Jaeger\Thrift\Agent\ValidateTraceResponse', - ), - ); - - /** - * @var \Jaeger\Thrift\Agent\ValidateTraceResponse - */ - public $success = null; - - public function __construct($vals=null) { - if (is_array($vals)) { - parent::__construct(self::$_TSPEC, $vals); - } - } - - public function getName() { - return 'AggregationValidator_validateTrace_result'; - } - - public function read($input) - { - return $this->_read('AggregationValidator_validateTrace_result', self::$_TSPEC, $input); - } - - public function write($output) { - return $this->_write('AggregationValidator_validateTrace_result', self::$_TSPEC, $output); - } - -} - diff --git a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/BaggageRestriction.php b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/BaggageRestriction.php deleted file mode 100644 index 27593c4c1..000000000 --- a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/BaggageRestriction.php +++ /dev/null @@ -1,65 +0,0 @@ -<?php -namespace Jaeger\Thrift\Agent; - -/** - * Autogenerated by Thrift Compiler (0.11.0) - * - * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING - * @generated - */ -use Thrift\Base\TBase; -use Thrift\Type\TType; -use Thrift\Type\TMessageType; -use Thrift\Exception\TException; -use Thrift\Exception\TProtocolException; -use Thrift\Protocol\TProtocol; -use Thrift\Protocol\TBinaryProtocolAccelerated; -use Thrift\Exception\TApplicationException; - - -class BaggageRestriction extends TBase { - static $isValidate = false; - - static $_TSPEC = array( - 1 => array( - 'var' => 'baggageKey', - 'isRequired' => true, - 'type' => TType::STRING, - ), - 2 => array( - 'var' => 'maxValueLength', - 'isRequired' => true, - 'type' => TType::I32, - ), - ); - - /** - * @var string - */ - public $baggageKey = null; - /** - * @var int - */ - public $maxValueLength = null; - - public function __construct($vals=null) { - if (is_array($vals)) { - parent::__construct(self::$_TSPEC, $vals); - } - } - - public function getName() { - return 'BaggageRestriction'; - } - - public function read($input) - { - return $this->_read('BaggageRestriction', self::$_TSPEC, $input); - } - - public function write($output) { - return $this->_write('BaggageRestriction', self::$_TSPEC, $output); - } - -} - diff --git a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/BaggageRestrictionManagerClient.php b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/BaggageRestrictionManagerClient.php deleted file mode 100644 index 379153534..000000000 --- a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/BaggageRestrictionManagerClient.php +++ /dev/null @@ -1,83 +0,0 @@ -<?php -namespace Jaeger\Thrift\Agent; -/** - * Autogenerated by Thrift Compiler (0.11.0) - * - * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING - * @generated - */ -use Thrift\Base\TBase; -use Thrift\Type\TType; -use Thrift\Type\TMessageType; -use Thrift\Exception\TException; -use Thrift\Exception\TProtocolException; -use Thrift\Protocol\TProtocol; -use Thrift\Protocol\TBinaryProtocolAccelerated; -use Thrift\Exception\TApplicationException; - - -class BaggageRestrictionManagerClient implements \Jaeger\Thrift\Agent\BaggageRestrictionManagerIf { - protected $input_ = null; - protected $output_ = null; - - protected $seqid_ = 0; - - public function __construct($input, $output=null) { - $this->input_ = $input; - $this->output_ = $output ? $output : $input; - } - - public function getBaggageRestrictions($serviceName) - { - $this->send_getBaggageRestrictions($serviceName); - return $this->recv_getBaggageRestrictions(); - } - - public function send_getBaggageRestrictions($serviceName) - { - $args = new \Jaeger\Thrift\Agent\BaggageRestrictionManager_getBaggageRestrictions_args(); - $args->serviceName = $serviceName; - $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); - if ($bin_accel) - { - thrift_protocol_write_binary($this->output_, 'getBaggageRestrictions', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); - } - else - { - $this->output_->writeMessageBegin('getBaggageRestrictions', TMessageType::CALL, $this->seqid_); - $args->write($this->output_); - $this->output_->writeMessageEnd(); - $this->output_->getTransport()->flush(); - } - } - - public function recv_getBaggageRestrictions() - { - $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); - if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\Jaeger\Thrift\Agent\BaggageRestrictionManager_getBaggageRestrictions_result', $this->input_->isStrictRead()); - else - { - $rseqid = 0; - $fname = null; - $mtype = 0; - - $this->input_->readMessageBegin($fname, $mtype, $rseqid); - if ($mtype == TMessageType::EXCEPTION) { - $x = new TApplicationException(); - $x->read($this->input_); - $this->input_->readMessageEnd(); - throw $x; - } - $result = new \Jaeger\Thrift\Agent\BaggageRestrictionManager_getBaggageRestrictions_result(); - $result->read($this->input_); - $this->input_->readMessageEnd(); - } - if ($result->success !== null) { - return $result->success; - } - throw new \Exception("getBaggageRestrictions failed: unknown result"); - } - -} - - diff --git a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/BaggageRestrictionManagerIf.php b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/BaggageRestrictionManagerIf.php deleted file mode 100644 index 010bda741..000000000 --- a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/BaggageRestrictionManagerIf.php +++ /dev/null @@ -1,31 +0,0 @@ -<?php -namespace Jaeger\Thrift\Agent; -/** - * Autogenerated by Thrift Compiler (0.11.0) - * - * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING - * @generated - */ -use Thrift\Base\TBase; -use Thrift\Type\TType; -use Thrift\Type\TMessageType; -use Thrift\Exception\TException; -use Thrift\Exception\TProtocolException; -use Thrift\Protocol\TProtocol; -use Thrift\Protocol\TBinaryProtocolAccelerated; -use Thrift\Exception\TApplicationException; - - -interface BaggageRestrictionManagerIf { - /** - * getBaggageRestrictions retrieves the baggage restrictions for a specific service. - * Usually, baggageRestrictions apply to all services however there may be situations - * where a baggageKey might only be allowed to be set by a specific service. - * - * @param string $serviceName - * @return \Jaeger\Thrift\Agent\BaggageRestriction[] - */ - public function getBaggageRestrictions($serviceName); -} - - diff --git a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/BaggageRestrictionManager_getBaggageRestrictions_args.php b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/BaggageRestrictionManager_getBaggageRestrictions_args.php deleted file mode 100644 index 6f2b4650a..000000000 --- a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/BaggageRestrictionManager_getBaggageRestrictions_args.php +++ /dev/null @@ -1,55 +0,0 @@ -<?php -namespace Jaeger\Thrift\Agent; -/** - * Autogenerated by Thrift Compiler (0.11.0) - * - * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING - * @generated - */ -use Thrift\Base\TBase; -use Thrift\Type\TType; -use Thrift\Type\TMessageType; -use Thrift\Exception\TException; -use Thrift\Exception\TProtocolException; -use Thrift\Protocol\TProtocol; -use Thrift\Protocol\TBinaryProtocolAccelerated; -use Thrift\Exception\TApplicationException; - - -class BaggageRestrictionManager_getBaggageRestrictions_args extends TBase { - static $isValidate = false; - - static $_TSPEC = array( - 1 => array( - 'var' => 'serviceName', - 'isRequired' => false, - 'type' => TType::STRING, - ), - ); - - /** - * @var string - */ - public $serviceName = null; - - public function __construct($vals=null) { - if (is_array($vals)) { - parent::__construct(self::$_TSPEC, $vals); - } - } - - public function getName() { - return 'BaggageRestrictionManager_getBaggageRestrictions_args'; - } - - public function read($input) - { - return $this->_read('BaggageRestrictionManager_getBaggageRestrictions_args', self::$_TSPEC, $input); - } - - public function write($output) { - return $this->_write('BaggageRestrictionManager_getBaggageRestrictions_args', self::$_TSPEC, $output); - } - -} - diff --git a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/BaggageRestrictionManager_getBaggageRestrictions_result.php b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/BaggageRestrictionManager_getBaggageRestrictions_result.php deleted file mode 100644 index a3c52b37c..000000000 --- a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/BaggageRestrictionManager_getBaggageRestrictions_result.php +++ /dev/null @@ -1,60 +0,0 @@ -<?php -namespace Jaeger\Thrift\Agent; -/** - * Autogenerated by Thrift Compiler (0.11.0) - * - * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING - * @generated - */ -use Thrift\Base\TBase; -use Thrift\Type\TType; -use Thrift\Type\TMessageType; -use Thrift\Exception\TException; -use Thrift\Exception\TProtocolException; -use Thrift\Protocol\TProtocol; -use Thrift\Protocol\TBinaryProtocolAccelerated; -use Thrift\Exception\TApplicationException; - - -class BaggageRestrictionManager_getBaggageRestrictions_result extends TBase { - static $isValidate = false; - - static $_TSPEC = array( - 0 => array( - 'var' => 'success', - 'isRequired' => false, - 'type' => TType::LST, - 'etype' => TType::STRUCT, - 'elem' => array( - 'type' => TType::STRUCT, - 'class' => '\Jaeger\Thrift\Agent\BaggageRestriction', - ), - ), - ); - - /** - * @var \Jaeger\Thrift\Agent\BaggageRestriction[] - */ - public $success = null; - - public function __construct($vals=null) { - if (is_array($vals)) { - parent::__construct(self::$_TSPEC, $vals); - } - } - - public function getName() { - return 'BaggageRestrictionManager_getBaggageRestrictions_result'; - } - - public function read($input) - { - return $this->_read('BaggageRestrictionManager_getBaggageRestrictions_result', self::$_TSPEC, $input); - } - - public function write($output) { - return $this->_write('BaggageRestrictionManager_getBaggageRestrictions_result', self::$_TSPEC, $output); - } - -} - diff --git a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Dependencies.php b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Dependencies.php deleted file mode 100644 index 4295b9798..000000000 --- a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Dependencies.php +++ /dev/null @@ -1,61 +0,0 @@ -<?php -namespace Jaeger\Thrift\Agent; - -/** - * Autogenerated by Thrift Compiler (0.11.0) - * - * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING - * @generated - */ -use Thrift\Base\TBase; -use Thrift\Type\TType; -use Thrift\Type\TMessageType; -use Thrift\Exception\TException; -use Thrift\Exception\TProtocolException; -use Thrift\Protocol\TProtocol; -use Thrift\Protocol\TBinaryProtocolAccelerated; -use Thrift\Exception\TApplicationException; - - -class Dependencies extends TBase { - static $isValidate = false; - - static $_TSPEC = array( - 1 => array( - 'var' => 'links', - 'isRequired' => true, - 'type' => TType::LST, - 'etype' => TType::STRUCT, - 'elem' => array( - 'type' => TType::STRUCT, - 'class' => '\Jaeger\Thrift\Agent\DependencyLink', - ), - ), - ); - - /** - * @var \Jaeger\Thrift\Agent\DependencyLink[] - */ - public $links = null; - - public function __construct($vals=null) { - if (is_array($vals)) { - parent::__construct(self::$_TSPEC, $vals); - } - } - - public function getName() { - return 'Dependencies'; - } - - public function read($input) - { - return $this->_read('Dependencies', self::$_TSPEC, $input); - } - - public function write($output) { - return $this->_write('Dependencies', self::$_TSPEC, $output); - } - -} - diff --git a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/DependencyClient.php b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/DependencyClient.php deleted file mode 100644 index 2c247633d..000000000 --- a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/DependencyClient.php +++ /dev/null @@ -1,105 +0,0 @@ -<?php -namespace Jaeger\Thrift\Agent; -/** - * Autogenerated by Thrift Compiler (0.11.0) - * - * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING - * @generated - */ -use Thrift\Base\TBase; -use Thrift\Type\TType; -use Thrift\Type\TMessageType; -use Thrift\Exception\TException; -use Thrift\Exception\TProtocolException; -use Thrift\Protocol\TProtocol; -use Thrift\Protocol\TBinaryProtocolAccelerated; -use Thrift\Exception\TApplicationException; - - -class DependencyClient implements \Jaeger\Thrift\Agent\DependencyIf { - protected $input_ = null; - protected $output_ = null; - - protected $seqid_ = 0; - - public function __construct($input, $output=null) { - $this->input_ = $input; - $this->output_ = $output ? $output : $input; - } - - public function getDependenciesForTrace($traceId) - { - $this->send_getDependenciesForTrace($traceId); - return $this->recv_getDependenciesForTrace(); - } - - public function send_getDependenciesForTrace($traceId) - { - $args = new \Jaeger\Thrift\Agent\Dependency_getDependenciesForTrace_args(); - $args->traceId = $traceId; - $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); - if ($bin_accel) - { - thrift_protocol_write_binary($this->output_, 'getDependenciesForTrace', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); - } - else - { - $this->output_->writeMessageBegin('getDependenciesForTrace', TMessageType::CALL, $this->seqid_); - $args->write($this->output_); - $this->output_->writeMessageEnd(); - $this->output_->getTransport()->flush(); - } - } - - public function recv_getDependenciesForTrace() - { - $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); - if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\Jaeger\Thrift\Agent\Dependency_getDependenciesForTrace_result', $this->input_->isStrictRead()); - else - { - $rseqid = 0; - $fname = null; - $mtype = 0; - - $this->input_->readMessageBegin($fname, $mtype, $rseqid); - if ($mtype == TMessageType::EXCEPTION) { - $x = new TApplicationException(); - $x->read($this->input_); - $this->input_->readMessageEnd(); - throw $x; - } - $result = new \Jaeger\Thrift\Agent\Dependency_getDependenciesForTrace_result(); - $result->read($this->input_); - $this->input_->readMessageEnd(); - } - if ($result->success !== null) { - return $result->success; - } - throw new \Exception("getDependenciesForTrace failed: unknown result"); - } - - public function saveDependencies(\Jaeger\Thrift\Agent\Dependencies $dependencies) - { - $this->send_saveDependencies($dependencies); - } - - public function send_saveDependencies(\Jaeger\Thrift\Agent\Dependencies $dependencies) - { - $args = new \Jaeger\Thrift\Agent\Dependency_saveDependencies_args(); - $args->dependencies = $dependencies; - $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); - if ($bin_accel) - { - thrift_protocol_write_binary($this->output_, 'saveDependencies', TMessageType::ONEWAY, $args, $this->seqid_, $this->output_->isStrictWrite()); - } - else - { - $this->output_->writeMessageBegin('saveDependencies', TMessageType::ONEWAY, $this->seqid_); - $args->write($this->output_); - $this->output_->writeMessageEnd(); - $this->output_->getTransport()->flush(); - } - } -} - - diff --git a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/DependencyIf.php b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/DependencyIf.php deleted file mode 100644 index c9432e7d8..000000000 --- a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/DependencyIf.php +++ /dev/null @@ -1,31 +0,0 @@ -<?php -namespace Jaeger\Thrift\Agent; -/** - * Autogenerated by Thrift Compiler (0.11.0) - * - * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING - * @generated - */ -use Thrift\Base\TBase; -use Thrift\Type\TType; -use Thrift\Type\TMessageType; -use Thrift\Exception\TException; -use Thrift\Exception\TProtocolException; -use Thrift\Protocol\TProtocol; -use Thrift\Protocol\TBinaryProtocolAccelerated; -use Thrift\Exception\TApplicationException; - - -interface DependencyIf { - /** - * @param string $traceId - * @return \Jaeger\Thrift\Agent\Dependencies - */ - public function getDependenciesForTrace($traceId); - /** - * @param \Jaeger\Thrift\Agent\Dependencies $dependencies - */ - public function saveDependencies(\Jaeger\Thrift\Agent\Dependencies $dependencies); -} - - diff --git a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/DependencyLink.php b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/DependencyLink.php deleted file mode 100644 index 14cfa5132..000000000 --- a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/DependencyLink.php +++ /dev/null @@ -1,74 +0,0 @@ -<?php -namespace Jaeger\Thrift\Agent; - -/** - * Autogenerated by Thrift Compiler (0.11.0) - * - * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING - * @generated - */ -use Thrift\Base\TBase; -use Thrift\Type\TType; -use Thrift\Type\TMessageType; -use Thrift\Exception\TException; -use Thrift\Exception\TProtocolException; -use Thrift\Protocol\TProtocol; -use Thrift\Protocol\TBinaryProtocolAccelerated; -use Thrift\Exception\TApplicationException; - - -class DependencyLink extends TBase { - static $isValidate = false; - - static $_TSPEC = array( - 1 => array( - 'var' => 'parent', - 'isRequired' => true, - 'type' => TType::STRING, - ), - 2 => array( - 'var' => 'child', - 'isRequired' => true, - 'type' => TType::STRING, - ), - 4 => array( - 'var' => 'callCount', - 'isRequired' => true, - 'type' => TType::I64, - ), - ); - - /** - * @var string - */ - public $parent = null; - /** - * @var string - */ - public $child = null; - /** - * @var int - */ - public $callCount = null; - - public function __construct($vals=null) { - if (is_array($vals)) { - parent::__construct(self::$_TSPEC, $vals); - } - } - - public function getName() { - return 'DependencyLink'; - } - - public function read($input) - { - return $this->_read('DependencyLink', self::$_TSPEC, $input); - } - - public function write($output) { - return $this->_write('DependencyLink', self::$_TSPEC, $output); - } - -} - diff --git a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Dependency_getDependenciesForTrace_args.php b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Dependency_getDependenciesForTrace_args.php deleted file mode 100644 index 5100ea77b..000000000 --- a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Dependency_getDependenciesForTrace_args.php +++ /dev/null @@ -1,55 +0,0 @@ -<?php -namespace Jaeger\Thrift\Agent; -/** - * Autogenerated by Thrift Compiler (0.11.0) - * - * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING - * @generated - */ -use Thrift\Base\TBase; -use Thrift\Type\TType; -use Thrift\Type\TMessageType; -use Thrift\Exception\TException; -use Thrift\Exception\TProtocolException; -use Thrift\Protocol\TProtocol; -use Thrift\Protocol\TBinaryProtocolAccelerated; -use Thrift\Exception\TApplicationException; - - -class Dependency_getDependenciesForTrace_args extends TBase { - static $isValidate = false; - - static $_TSPEC = array( - 1 => array( - 'var' => 'traceId', - 'isRequired' => true, - 'type' => TType::STRING, - ), - ); - - /** - * @var string - */ - public $traceId = null; - - public function __construct($vals=null) { - if (is_array($vals)) { - parent::__construct(self::$_TSPEC, $vals); - } - } - - public function getName() { - return 'Dependency_getDependenciesForTrace_args'; - } - - public function read($input) - { - return $this->_read('Dependency_getDependenciesForTrace_args', self::$_TSPEC, $input); - } - - public function write($output) { - return $this->_write('Dependency_getDependenciesForTrace_args', self::$_TSPEC, $output); - } - -} - diff --git a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Dependency_getDependenciesForTrace_result.php b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Dependency_getDependenciesForTrace_result.php deleted file mode 100644 index ebdd1303e..000000000 --- a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Dependency_getDependenciesForTrace_result.php +++ /dev/null @@ -1,56 +0,0 @@ -<?php -namespace Jaeger\Thrift\Agent; -/** - * Autogenerated by Thrift Compiler (0.11.0) - * - * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING - * @generated - */ -use Thrift\Base\TBase; -use Thrift\Type\TType; -use Thrift\Type\TMessageType; -use Thrift\Exception\TException; -use Thrift\Exception\TProtocolException; -use Thrift\Protocol\TProtocol; -use Thrift\Protocol\TBinaryProtocolAccelerated; -use Thrift\Exception\TApplicationException; - - -class Dependency_getDependenciesForTrace_result extends TBase { - static $isValidate = false; - - static $_TSPEC = array( - 0 => array( - 'var' => 'success', - 'isRequired' => false, - 'type' => TType::STRUCT, - 'class' => '\Jaeger\Thrift\Agent\Dependencies', - ), - ); - - /** - * @var \Jaeger\Thrift\Agent\Dependencies - */ - public $success = null; - - public function __construct($vals=null) { - if (is_array($vals)) { - parent::__construct(self::$_TSPEC, $vals); - } - } - - public function getName() { - return 'Dependency_getDependenciesForTrace_result'; - } - - public function read($input) - { - return $this->_read('Dependency_getDependenciesForTrace_result', self::$_TSPEC, $input); - } - - public function write($output) { - return $this->_write('Dependency_getDependenciesForTrace_result', self::$_TSPEC, $output); - } - -} - diff --git a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Dependency_saveDependencies_args.php b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Dependency_saveDependencies_args.php deleted file mode 100644 index 0d250c297..000000000 --- a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Dependency_saveDependencies_args.php +++ /dev/null @@ -1,56 +0,0 @@ -<?php -namespace Jaeger\Thrift\Agent; -/** - * Autogenerated by Thrift Compiler (0.11.0) - * - * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING - * @generated - */ -use Thrift\Base\TBase; -use Thrift\Type\TType; -use Thrift\Type\TMessageType; -use Thrift\Exception\TException; -use Thrift\Exception\TProtocolException; -use Thrift\Protocol\TProtocol; -use Thrift\Protocol\TBinaryProtocolAccelerated; -use Thrift\Exception\TApplicationException; - - -class Dependency_saveDependencies_args extends TBase { - static $isValidate = false; - - static $_TSPEC = array( - 1 => array( - 'var' => 'dependencies', - 'isRequired' => false, - 'type' => TType::STRUCT, - 'class' => '\Jaeger\Thrift\Agent\Dependencies', - ), - ); - - /** - * @var \Jaeger\Thrift\Agent\Dependencies - */ - public $dependencies = null; - - public function __construct($vals=null) { - if (is_array($vals)) { - parent::__construct(self::$_TSPEC, $vals); - } - } - - public function getName() { - return 'Dependency_saveDependencies_args'; - } - - public function read($input) - { - return $this->_read('Dependency_saveDependencies_args', self::$_TSPEC, $input); - } - - public function write($output) { - return $this->_write('Dependency_saveDependencies_args', self::$_TSPEC, $output); - } - -} - diff --git a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/OperationSamplingStrategy.php b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/OperationSamplingStrategy.php deleted file mode 100644 index 7532a7b50..000000000 --- a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/OperationSamplingStrategy.php +++ /dev/null @@ -1,66 +0,0 @@ -<?php -namespace Jaeger\Thrift\Agent; - -/** - * Autogenerated by Thrift Compiler (0.11.0) - * - * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING - * @generated - */ -use Thrift\Base\TBase; -use Thrift\Type\TType; -use Thrift\Type\TMessageType; -use Thrift\Exception\TException; -use Thrift\Exception\TProtocolException; -use Thrift\Protocol\TProtocol; -use Thrift\Protocol\TBinaryProtocolAccelerated; -use Thrift\Exception\TApplicationException; - - -class OperationSamplingStrategy extends TBase { - static $isValidate = false; - - static $_TSPEC = array( - 1 => array( - 'var' => 'operation', - 'isRequired' => true, - 'type' => TType::STRING, - ), - 2 => array( - 'var' => 'probabilisticSampling', - 'isRequired' => true, - 'type' => TType::STRUCT, - 'class' => '\Jaeger\Thrift\Agent\ProbabilisticSamplingStrategy', - ), - ); - - /** - * @var string - */ - public $operation = null; - /** - * @var \Jaeger\Thrift\Agent\ProbabilisticSamplingStrategy - */ - public $probabilisticSampling = null; - - public function __construct($vals=null) { - if (is_array($vals)) { - parent::__construct(self::$_TSPEC, $vals); - } - } - - public function getName() { - return 'OperationSamplingStrategy'; - } - - public function read($input) - { - return $this->_read('OperationSamplingStrategy', self::$_TSPEC, $input); - } - - public function write($output) { - return $this->_write('OperationSamplingStrategy', self::$_TSPEC, $output); - } - -} - diff --git a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/PerOperationSamplingStrategies.php b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/PerOperationSamplingStrategies.php deleted file mode 100644 index 2a6ae8a61..000000000 --- a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/PerOperationSamplingStrategies.php +++ /dev/null @@ -1,88 +0,0 @@ -<?php -namespace Jaeger\Thrift\Agent; - -/** - * Autogenerated by Thrift Compiler (0.11.0) - * - * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING - * @generated - */ -use Thrift\Base\TBase; -use Thrift\Type\TType; -use Thrift\Type\TMessageType; -use Thrift\Exception\TException; -use Thrift\Exception\TProtocolException; -use Thrift\Protocol\TProtocol; -use Thrift\Protocol\TBinaryProtocolAccelerated; -use Thrift\Exception\TApplicationException; - - -class PerOperationSamplingStrategies extends TBase { - static $isValidate = false; - - static $_TSPEC = array( - 1 => array( - 'var' => 'defaultSamplingProbability', - 'isRequired' => true, - 'type' => TType::DOUBLE, - ), - 2 => array( - 'var' => 'defaultLowerBoundTracesPerSecond', - 'isRequired' => true, - 'type' => TType::DOUBLE, - ), - 3 => array( - 'var' => 'perOperationStrategies', - 'isRequired' => true, - 'type' => TType::LST, - 'etype' => TType::STRUCT, - 'elem' => array( - 'type' => TType::STRUCT, - 'class' => '\Jaeger\Thrift\Agent\OperationSamplingStrategy', - ), - ), - 4 => array( - 'var' => 'defaultUpperBoundTracesPerSecond', - 'isRequired' => false, - 'type' => TType::DOUBLE, - ), - ); - - /** - * @var double - */ - public $defaultSamplingProbability = null; - /** - * @var double - */ - public $defaultLowerBoundTracesPerSecond = null; - /** - * @var \Jaeger\Thrift\Agent\OperationSamplingStrategy[] - */ - public $perOperationStrategies = null; - /** - * @var double - */ - public $defaultUpperBoundTracesPerSecond = null; - - public function __construct($vals=null) { - if (is_array($vals)) { - parent::__construct(self::$_TSPEC, $vals); - } - } - - public function getName() { - return 'PerOperationSamplingStrategies'; - } - - public function read($input) - { - return $this->_read('PerOperationSamplingStrategies', self::$_TSPEC, $input); - } - - public function write($output) { - return $this->_write('PerOperationSamplingStrategies', self::$_TSPEC, $output); - } - -} - diff --git a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/ProbabilisticSamplingStrategy.php b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/ProbabilisticSamplingStrategy.php deleted file mode 100644 index 708ceb9a4..000000000 --- a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/ProbabilisticSamplingStrategy.php +++ /dev/null @@ -1,56 +0,0 @@ -<?php -namespace Jaeger\Thrift\Agent; - -/** - * Autogenerated by Thrift Compiler (0.11.0) - * - * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING - * @generated - */ -use Thrift\Base\TBase; -use Thrift\Type\TType; -use Thrift\Type\TMessageType; -use Thrift\Exception\TException; -use Thrift\Exception\TProtocolException; -use Thrift\Protocol\TProtocol; -use Thrift\Protocol\TBinaryProtocolAccelerated; -use Thrift\Exception\TApplicationException; - - -class ProbabilisticSamplingStrategy extends TBase { - static $isValidate = false; - - static $_TSPEC = array( - 1 => array( - 'var' => 'samplingRate', - 'isRequired' => true, - 'type' => TType::DOUBLE, - ), - ); - - /** - * @var double - */ - public $samplingRate = null; - - public function __construct($vals=null) { - if (is_array($vals)) { - parent::__construct(self::$_TSPEC, $vals); - } - } - - public function getName() { - return 'ProbabilisticSamplingStrategy'; - } - - public function read($input) - { - return $this->_read('ProbabilisticSamplingStrategy', self::$_TSPEC, $input); - } - - public function write($output) { - return $this->_write('ProbabilisticSamplingStrategy', self::$_TSPEC, $output); - } - -} - diff --git a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/RateLimitingSamplingStrategy.php b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/RateLimitingSamplingStrategy.php deleted file mode 100644 index d5502e8ee..000000000 --- a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/RateLimitingSamplingStrategy.php +++ /dev/null @@ -1,56 +0,0 @@ -<?php -namespace Jaeger\Thrift\Agent; - -/** - * Autogenerated by Thrift Compiler (0.11.0) - * - * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING - * @generated - */ -use Thrift\Base\TBase; -use Thrift\Type\TType; -use Thrift\Type\TMessageType; -use Thrift\Exception\TException; -use Thrift\Exception\TProtocolException; -use Thrift\Protocol\TProtocol; -use Thrift\Protocol\TBinaryProtocolAccelerated; -use Thrift\Exception\TApplicationException; - - -class RateLimitingSamplingStrategy extends TBase { - static $isValidate = false; - - static $_TSPEC = array( - 1 => array( - 'var' => 'maxTracesPerSecond', - 'isRequired' => true, - 'type' => TType::I16, - ), - ); - - /** - * @var int - */ - public $maxTracesPerSecond = null; - - public function __construct($vals=null) { - if (is_array($vals)) { - parent::__construct(self::$_TSPEC, $vals); - } - } - - public function getName() { - return 'RateLimitingSamplingStrategy'; - } - - public function read($input) - { - return $this->_read('RateLimitingSamplingStrategy', self::$_TSPEC, $input); - } - - public function write($output) { - return $this->_write('RateLimitingSamplingStrategy', self::$_TSPEC, $output); - } - -} - diff --git a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/SamplingManagerClient.php b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/SamplingManagerClient.php deleted file mode 100644 index 9f5494a91..000000000 --- a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/SamplingManagerClient.php +++ /dev/null @@ -1,83 +0,0 @@ -<?php -namespace Jaeger\Thrift\Agent; -/** - * Autogenerated by Thrift Compiler (0.11.0) - * - * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING - * @generated - */ -use Thrift\Base\TBase; -use Thrift\Type\TType; -use Thrift\Type\TMessageType; -use Thrift\Exception\TException; -use Thrift\Exception\TProtocolException; -use Thrift\Protocol\TProtocol; -use Thrift\Protocol\TBinaryProtocolAccelerated; -use Thrift\Exception\TApplicationException; - - -class SamplingManagerClient implements \Jaeger\Thrift\Agent\SamplingManagerIf { - protected $input_ = null; - protected $output_ = null; - - protected $seqid_ = 0; - - public function __construct($input, $output=null) { - $this->input_ = $input; - $this->output_ = $output ? $output : $input; - } - - public function getSamplingStrategy($serviceName) - { - $this->send_getSamplingStrategy($serviceName); - return $this->recv_getSamplingStrategy(); - } - - public function send_getSamplingStrategy($serviceName) - { - $args = new \Jaeger\Thrift\Agent\SamplingManager_getSamplingStrategy_args(); - $args->serviceName = $serviceName; - $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); - if ($bin_accel) - { - thrift_protocol_write_binary($this->output_, 'getSamplingStrategy', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); - } - else - { - $this->output_->writeMessageBegin('getSamplingStrategy', TMessageType::CALL, $this->seqid_); - $args->write($this->output_); - $this->output_->writeMessageEnd(); - $this->output_->getTransport()->flush(); - } - } - - public function recv_getSamplingStrategy() - { - $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); - if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\Jaeger\Thrift\Agent\SamplingManager_getSamplingStrategy_result', $this->input_->isStrictRead()); - else - { - $rseqid = 0; - $fname = null; - $mtype = 0; - - $this->input_->readMessageBegin($fname, $mtype, $rseqid); - if ($mtype == TMessageType::EXCEPTION) { - $x = new TApplicationException(); - $x->read($this->input_); - $this->input_->readMessageEnd(); - throw $x; - } - $result = new \Jaeger\Thrift\Agent\SamplingManager_getSamplingStrategy_result(); - $result->read($this->input_); - $this->input_->readMessageEnd(); - } - if ($result->success !== null) { - return $result->success; - } - throw new \Exception("getSamplingStrategy failed: unknown result"); - } - -} - - diff --git a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/SamplingManagerIf.php b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/SamplingManagerIf.php deleted file mode 100644 index ef17cf308..000000000 --- a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/SamplingManagerIf.php +++ /dev/null @@ -1,27 +0,0 @@ -<?php -namespace Jaeger\Thrift\Agent; -/** - * Autogenerated by Thrift Compiler (0.11.0) - * - * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING - * @generated - */ -use Thrift\Base\TBase; -use Thrift\Type\TType; -use Thrift\Type\TMessageType; -use Thrift\Exception\TException; -use Thrift\Exception\TProtocolException; -use Thrift\Protocol\TProtocol; -use Thrift\Protocol\TBinaryProtocolAccelerated; -use Thrift\Exception\TApplicationException; - - -interface SamplingManagerIf { - /** - * @param string $serviceName - * @return \Jaeger\Thrift\Agent\SamplingStrategyResponse - */ - public function getSamplingStrategy($serviceName); -} - - diff --git a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/SamplingManager_getSamplingStrategy_args.php b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/SamplingManager_getSamplingStrategy_args.php deleted file mode 100644 index f39203efe..000000000 --- a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/SamplingManager_getSamplingStrategy_args.php +++ /dev/null @@ -1,55 +0,0 @@ -<?php -namespace Jaeger\Thrift\Agent; -/** - * Autogenerated by Thrift Compiler (0.11.0) - * - * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING - * @generated - */ -use Thrift\Base\TBase; -use Thrift\Type\TType; -use Thrift\Type\TMessageType; -use Thrift\Exception\TException; -use Thrift\Exception\TProtocolException; -use Thrift\Protocol\TProtocol; -use Thrift\Protocol\TBinaryProtocolAccelerated; -use Thrift\Exception\TApplicationException; - - -class SamplingManager_getSamplingStrategy_args extends TBase { - static $isValidate = false; - - static $_TSPEC = array( - 1 => array( - 'var' => 'serviceName', - 'isRequired' => false, - 'type' => TType::STRING, - ), - ); - - /** - * @var string - */ - public $serviceName = null; - - public function __construct($vals=null) { - if (is_array($vals)) { - parent::__construct(self::$_TSPEC, $vals); - } - } - - public function getName() { - return 'SamplingManager_getSamplingStrategy_args'; - } - - public function read($input) - { - return $this->_read('SamplingManager_getSamplingStrategy_args', self::$_TSPEC, $input); - } - - public function write($output) { - return $this->_write('SamplingManager_getSamplingStrategy_args', self::$_TSPEC, $output); - } - -} - diff --git a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/SamplingManager_getSamplingStrategy_result.php b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/SamplingManager_getSamplingStrategy_result.php deleted file mode 100644 index 79e6dce58..000000000 --- a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/SamplingManager_getSamplingStrategy_result.php +++ /dev/null @@ -1,56 +0,0 @@ -<?php -namespace Jaeger\Thrift\Agent; -/** - * Autogenerated by Thrift Compiler (0.11.0) - * - * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING - * @generated - */ -use Thrift\Base\TBase; -use Thrift\Type\TType; -use Thrift\Type\TMessageType; -use Thrift\Exception\TException; -use Thrift\Exception\TProtocolException; -use Thrift\Protocol\TProtocol; -use Thrift\Protocol\TBinaryProtocolAccelerated; -use Thrift\Exception\TApplicationException; - - -class SamplingManager_getSamplingStrategy_result extends TBase { - static $isValidate = false; - - static $_TSPEC = array( - 0 => array( - 'var' => 'success', - 'isRequired' => false, - 'type' => TType::STRUCT, - 'class' => '\Jaeger\Thrift\Agent\SamplingStrategyResponse', - ), - ); - - /** - * @var \Jaeger\Thrift\Agent\SamplingStrategyResponse - */ - public $success = null; - - public function __construct($vals=null) { - if (is_array($vals)) { - parent::__construct(self::$_TSPEC, $vals); - } - } - - public function getName() { - return 'SamplingManager_getSamplingStrategy_result'; - } - - public function read($input) - { - return $this->_read('SamplingManager_getSamplingStrategy_result', self::$_TSPEC, $input); - } - - public function write($output) { - return $this->_write('SamplingManager_getSamplingStrategy_result', self::$_TSPEC, $output); - } - -} - diff --git a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/SamplingStrategyResponse.php b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/SamplingStrategyResponse.php deleted file mode 100644 index bc807a57d..000000000 --- a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/SamplingStrategyResponse.php +++ /dev/null @@ -1,86 +0,0 @@ -<?php -namespace Jaeger\Thrift\Agent; - -/** - * Autogenerated by Thrift Compiler (0.11.0) - * - * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING - * @generated - */ -use Thrift\Base\TBase; -use Thrift\Type\TType; -use Thrift\Type\TMessageType; -use Thrift\Exception\TException; -use Thrift\Exception\TProtocolException; -use Thrift\Protocol\TProtocol; -use Thrift\Protocol\TBinaryProtocolAccelerated; -use Thrift\Exception\TApplicationException; - - -class SamplingStrategyResponse extends TBase { - static $isValidate = false; - - static $_TSPEC = array( - 1 => array( - 'var' => 'strategyType', - 'isRequired' => true, - 'type' => TType::I32, - ), - 2 => array( - 'var' => 'probabilisticSampling', - 'isRequired' => false, - 'type' => TType::STRUCT, - 'class' => '\Jaeger\Thrift\Agent\ProbabilisticSamplingStrategy', - ), - 3 => array( - 'var' => 'rateLimitingSampling', - 'isRequired' => false, - 'type' => TType::STRUCT, - 'class' => '\Jaeger\Thrift\Agent\RateLimitingSamplingStrategy', - ), - 4 => array( - 'var' => 'operationSampling', - 'isRequired' => false, - 'type' => TType::STRUCT, - 'class' => '\Jaeger\Thrift\Agent\PerOperationSamplingStrategies', - ), - ); - - /** - * @var int - */ - public $strategyType = null; - /** - * @var \Jaeger\Thrift\Agent\ProbabilisticSamplingStrategy - */ - public $probabilisticSampling = null; - /** - * @var \Jaeger\Thrift\Agent\RateLimitingSamplingStrategy - */ - public $rateLimitingSampling = null; - /** - * @var \Jaeger\Thrift\Agent\PerOperationSamplingStrategies - */ - public $operationSampling = null; - - public function __construct($vals=null) { - if (is_array($vals)) { - parent::__construct(self::$_TSPEC, $vals); - } - } - - public function getName() { - return 'SamplingStrategyResponse'; - } - - public function read($input) - { - return $this->_read('SamplingStrategyResponse', self::$_TSPEC, $input); - } - - public function write($output) { - return $this->_write('SamplingStrategyResponse', self::$_TSPEC, $output); - } - -} - diff --git a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/SamplingStrategyType.php b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/SamplingStrategyType.php deleted file mode 100644 index c8dff918a..000000000 --- a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/SamplingStrategyType.php +++ /dev/null @@ -1,28 +0,0 @@ -<?php -namespace Jaeger\Thrift\Agent; - -/** - * Autogenerated by Thrift Compiler (0.11.0) - * - * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING - * @generated - */ -use Thrift\Base\TBase; -use Thrift\Type\TType; -use Thrift\Type\TMessageType; -use Thrift\Exception\TException; -use Thrift\Exception\TProtocolException; -use Thrift\Protocol\TProtocol; -use Thrift\Protocol\TBinaryProtocolAccelerated; -use Thrift\Exception\TApplicationException; - - -final class SamplingStrategyType { - const PROBABILISTIC = 0; - const RATE_LIMITING = 1; - static public $__names = array( - 0 => 'PROBABILISTIC', - 1 => 'RATE_LIMITING', - ); -} - diff --git a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/ValidateTraceResponse.php b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/ValidateTraceResponse.php deleted file mode 100644 index 226f61e80..000000000 --- a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/ValidateTraceResponse.php +++ /dev/null @@ -1,65 +0,0 @@ -<?php -namespace Jaeger\Thrift\Agent; - -/** - * Autogenerated by Thrift Compiler (0.11.0) - * - * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING - * @generated - */ -use Thrift\Base\TBase; -use Thrift\Type\TType; -use Thrift\Type\TMessageType; -use Thrift\Exception\TException; -use Thrift\Exception\TProtocolException; -use Thrift\Protocol\TProtocol; -use Thrift\Protocol\TBinaryProtocolAccelerated; -use Thrift\Exception\TApplicationException; - - -class ValidateTraceResponse extends TBase { - static $isValidate = false; - - static $_TSPEC = array( - 1 => array( - 'var' => 'ok', - 'isRequired' => true, - 'type' => TType::BOOL, - ), - 2 => array( - 'var' => 'traceCount', - 'isRequired' => true, - 'type' => TType::I64, - ), - ); - - /** - * @var bool - */ - public $ok = null; - /** - * @var int - */ - public $traceCount = null; - - public function __construct($vals=null) { - if (is_array($vals)) { - parent::__construct(self::$_TSPEC, $vals); - } - } - - public function getName() { - return 'ValidateTraceResponse'; - } - - public function read($input) - { - return $this->_read('ValidateTraceResponse', self::$_TSPEC, $input); - } - - public function write($output) { - return $this->_write('ValidateTraceResponse', self::$_TSPEC, $output); - } - -} - diff --git a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Zipkin/Annotation.php b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Zipkin/Annotation.php deleted file mode 100644 index e7e48dade..000000000 --- a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Zipkin/Annotation.php +++ /dev/null @@ -1,87 +0,0 @@ -<?php -namespace Jaeger\Thrift\Agent\Zipkin; - -/** - * Autogenerated by Thrift Compiler (0.11.0) - * - * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING - * @generated - */ -use Thrift\Base\TBase; -use Thrift\Type\TType; -use Thrift\Type\TMessageType; -use Thrift\Exception\TException; -use Thrift\Exception\TProtocolException; -use Thrift\Protocol\TProtocol; -use Thrift\Protocol\TBinaryProtocolAccelerated; -use Thrift\Exception\TApplicationException; - - -/** - * An annotation is similar to a log statement. It includes a host field which - * allows these events to be attributed properly, and also aggregatable. - */ -class Annotation extends TBase { - static $isValidate = false; - - static $_TSPEC = array( - 1 => array( - 'var' => 'timestamp', - 'isRequired' => false, - 'type' => TType::I64, - ), - 2 => array( - 'var' => 'value', - 'isRequired' => false, - 'type' => TType::STRING, - ), - 3 => array( - 'var' => 'host', - 'isRequired' => false, - 'type' => TType::STRUCT, - 'class' => '\Jaeger\Thrift\Agent\Zipkin\Endpoint', - ), - ); - - /** - * Microseconds from epoch. - * - * This value should use the most precise value possible. For example, - * gettimeofday or syncing nanoTime against a tick of currentTimeMillis. - * - * @var int - */ - public $timestamp = null; - /** - * @var string - */ - public $value = null; - /** - * Always the host that recorded the event. By specifying the host you allow - * rollup of all events (such as client requests to a service) by IP address. - * - * @var \Jaeger\Thrift\Agent\Zipkin\Endpoint - */ - public $host = null; - - public function __construct($vals=null) { - if (is_array($vals)) { - parent::__construct(self::$_TSPEC, $vals); - } - } - - public function getName() { - return 'Annotation'; - } - - public function read($input) - { - return $this->_read('Annotation', self::$_TSPEC, $input); - } - - public function write($output) { - return $this->_write('Annotation', self::$_TSPEC, $output); - } - -} - diff --git a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Zipkin/AnnotationType.php b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Zipkin/AnnotationType.php deleted file mode 100644 index e21c0b0d8..000000000 --- a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Zipkin/AnnotationType.php +++ /dev/null @@ -1,38 +0,0 @@ -<?php -namespace Jaeger\Thrift\Agent\Zipkin; - -/** - * Autogenerated by Thrift Compiler (0.11.0) - * - * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING - * @generated - */ -use Thrift\Base\TBase; -use Thrift\Type\TType; -use Thrift\Type\TMessageType; -use Thrift\Exception\TException; -use Thrift\Exception\TProtocolException; -use Thrift\Protocol\TProtocol; -use Thrift\Protocol\TBinaryProtocolAccelerated; -use Thrift\Exception\TApplicationException; - - -final class AnnotationType { - const BOOL = 0; - const BYTES = 1; - const I16 = 2; - const I32 = 3; - const I64 = 4; - const DOUBLE = 5; - const STRING = 6; - static public $__names = array( - 0 => 'BOOL', - 1 => 'BYTES', - 2 => 'I16', - 3 => 'I32', - 4 => 'I64', - 5 => 'DOUBLE', - 6 => 'STRING', - ); -} - diff --git a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Zipkin/BinaryAnnotation.php b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Zipkin/BinaryAnnotation.php deleted file mode 100644 index 806a74831..000000000 --- a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Zipkin/BinaryAnnotation.php +++ /dev/null @@ -1,106 +0,0 @@ -<?php -namespace Jaeger\Thrift\Agent\Zipkin; - -/** - * Autogenerated by Thrift Compiler (0.11.0) - * - * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING - * @generated - */ -use Thrift\Base\TBase; -use Thrift\Type\TType; -use Thrift\Type\TMessageType; -use Thrift\Exception\TException; -use Thrift\Exception\TProtocolException; -use Thrift\Protocol\TProtocol; -use Thrift\Protocol\TBinaryProtocolAccelerated; -use Thrift\Exception\TApplicationException; - - -/** - * Binary annotations are tags applied to a Span to give it context. For - * example, a binary annotation of "http.uri" could the path to a resource in a - * RPC call. - * - * Binary annotations of type STRING are always queryable, though more a - * historical implementation detail than a structural concern. - * - * Binary annotations can repeat, and vary on the host. Similar to Annotation, - * the host indicates who logged the event. This allows you to tell the - * difference between the client and server side of the same key. For example, - * the key "http.uri" might be different on the client and server side due to - * rewriting, like "/api/v1/myresource" vs "/myresource. Via the host field, - * you can see the different points of view, which often help in debugging. - */ -class BinaryAnnotation extends TBase { - static $isValidate = false; - - static $_TSPEC = array( - 1 => array( - 'var' => 'key', - 'isRequired' => false, - 'type' => TType::STRING, - ), - 2 => array( - 'var' => 'value', - 'isRequired' => false, - 'type' => TType::STRING, - ), - 3 => array( - 'var' => 'annotation_type', - 'isRequired' => false, - 'type' => TType::I32, - ), - 4 => array( - 'var' => 'host', - 'isRequired' => false, - 'type' => TType::STRUCT, - 'class' => '\Jaeger\Thrift\Agent\Zipkin\Endpoint', - ), - ); - - /** - * @var string - */ - public $key = null; - /** - * @var string - */ - public $value = null; - /** - * @var int - */ - public $annotation_type = null; - /** - * The host that recorded tag, which allows you to differentiate between - * multiple tags with the same key. There are two exceptions to this. - * - * When the key is CLIENT_ADDR or SERVER_ADDR, host indicates the source or - * destination of an RPC. This exception allows zipkin to display network - * context of uninstrumented services, or clients such as web browsers. - * - * @var \Jaeger\Thrift\Agent\Zipkin\Endpoint - */ - public $host = null; - - public function __construct($vals=null) { - if (is_array($vals)) { - parent::__construct(self::$_TSPEC, $vals); - } - } - - public function getName() { - return 'BinaryAnnotation'; - } - - public function read($input) - { - return $this->_read('BinaryAnnotation', self::$_TSPEC, $input); - } - - public function write($output) { - return $this->_write('BinaryAnnotation', self::$_TSPEC, $output); - } - -} - diff --git a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Zipkin/Constant.php b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Zipkin/Constant.php deleted file mode 100644 index ebfcebe48..000000000 --- a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Zipkin/Constant.php +++ /dev/null @@ -1,246 +0,0 @@ -<?php -namespace Jaeger\Thrift\Agent\Zipkin; - -/** - * Autogenerated by Thrift Compiler (0.11.0) - * - * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING - * @generated - */ -use Thrift\Base\TBase; -use Thrift\Type\TType; -use Thrift\Type\TMessageType; -use Thrift\Exception\TException; -use Thrift\Exception\TProtocolException; -use Thrift\Protocol\TProtocol; -use Thrift\Protocol\TBinaryProtocolAccelerated; -use Thrift\Exception\TApplicationException; - - -final class Constant extends \Thrift\Type\TConstant { - static protected $CLIENT_SEND; - static protected $CLIENT_RECV; - static protected $SERVER_SEND; - static protected $SERVER_RECV; - static protected $MESSAGE_SEND; - static protected $MESSAGE_RECV; - static protected $WIRE_SEND; - static protected $WIRE_RECV; - static protected $CLIENT_SEND_FRAGMENT; - static protected $CLIENT_RECV_FRAGMENT; - static protected $SERVER_SEND_FRAGMENT; - static protected $SERVER_RECV_FRAGMENT; - static protected $LOCAL_COMPONENT; - static protected $CLIENT_ADDR; - static protected $SERVER_ADDR; - static protected $MESSAGE_ADDR; - - static protected function init_CLIENT_SEND() { - return /** - * The client sent ("cs") a request to a server. There is only one send per - * span. For example, if there's a transport error, each attempt can be logged - * as a WIRE_SEND annotation. - * - * If chunking is involved, each chunk could be logged as a separate - * CLIENT_SEND_FRAGMENT in the same span. - * - * Annotation.host is not the server. It is the host which logged the send - * event, almost always the client. When logging CLIENT_SEND, instrumentation - * should also log the SERVER_ADDR. - */ -"cs"; - } - - static protected function init_CLIENT_RECV() { - return /** - * The client received ("cr") a response from a server. There is only one - * receive per span. For example, if duplicate responses were received, each - * can be logged as a WIRE_RECV annotation. - * - * If chunking is involved, each chunk could be logged as a separate - * CLIENT_RECV_FRAGMENT in the same span. - * - * Annotation.host is not the server. It is the host which logged the receive - * event, almost always the client. The actual endpoint of the server is - * recorded separately as SERVER_ADDR when CLIENT_SEND is logged. - */ -"cr"; - } - - static protected function init_SERVER_SEND() { - return /** - * The server sent ("ss") a response to a client. There is only one response - * per span. If there's a transport error, each attempt can be logged as a - * WIRE_SEND annotation. - * - * Typically, a trace ends with a server send, so the last timestamp of a trace - * is often the timestamp of the root span's server send. - * - * If chunking is involved, each chunk could be logged as a separate - * SERVER_SEND_FRAGMENT in the same span. - * - * Annotation.host is not the client. It is the host which logged the send - * event, almost always the server. The actual endpoint of the client is - * recorded separately as CLIENT_ADDR when SERVER_RECV is logged. - */ -"ss"; - } - - static protected function init_SERVER_RECV() { - return /** - * The server received ("sr") a request from a client. There is only one - * request per span. For example, if duplicate responses were received, each - * can be logged as a WIRE_RECV annotation. - * - * Typically, a trace starts with a server receive, so the first timestamp of a - * trace is often the timestamp of the root span's server receive. - * - * If chunking is involved, each chunk could be logged as a separate - * SERVER_RECV_FRAGMENT in the same span. - * - * Annotation.host is not the client. It is the host which logged the receive - * event, almost always the server. When logging SERVER_RECV, instrumentation - * should also log the CLIENT_ADDR. - */ -"sr"; - } - - static protected function init_MESSAGE_SEND() { - return /** - * Message send ("ms") is a request to send a message to a destination, usually - * a broker. This may be the only annotation in a messaging span. If WIRE_SEND - * exists in the same span, it follows this moment and clarifies delays sending - * the message, such as batching. - * - * Unlike RPC annotations like CLIENT_SEND, messaging spans never share a span - * ID. For example, "ms" should always be the parent of "mr". - * - * Annotation.host is not the destination, it is the host which logged the send - * event: the producer. When annotating MESSAGE_SEND, instrumentation should - * also tag the MESSAGE_ADDR. - */ -"ms"; - } - - static protected function init_MESSAGE_RECV() { - return /** - * A consumer received ("mr") a message from a broker. This may be the only - * annotation in a messaging span. If WIRE_RECV exists in the same span, it - * precedes this moment and clarifies any local queuing delay. - * - * Unlike RPC annotations like SERVER_RECV, messaging spans never share a span - * ID. For example, "mr" should always be a child of "ms" unless it is a root - * span. - * - * Annotation.host is not the broker, it is the host which logged the receive - * event: the consumer. When annotating MESSAGE_RECV, instrumentation should - * also tag the MESSAGE_ADDR. - */ -"mr"; - } - - static protected function init_WIRE_SEND() { - return /** - * Optionally logs an attempt to send a message on the wire. Multiple wire send - * events could indicate network retries. A lag between client or server send - * and wire send might indicate queuing or processing delay. - */ -"ws"; - } - - static protected function init_WIRE_RECV() { - return /** - * Optionally logs an attempt to receive a message from the wire. Multiple wire - * receive events could indicate network retries. A lag between wire receive - * and client or server receive might indicate queuing or processing delay. - */ -"wr"; - } - - static protected function init_CLIENT_SEND_FRAGMENT() { - return /** - * Optionally logs progress of a (CLIENT_SEND, WIRE_SEND). For example, this - * could be one chunk in a chunked request. - */ -"csf"; - } - - static protected function init_CLIENT_RECV_FRAGMENT() { - return /** - * Optionally logs progress of a (CLIENT_RECV, WIRE_RECV). For example, this - * could be one chunk in a chunked response. - */ -"crf"; - } - - static protected function init_SERVER_SEND_FRAGMENT() { - return /** - * Optionally logs progress of a (SERVER_SEND, WIRE_SEND). For example, this - * could be one chunk in a chunked response. - */ -"ssf"; - } - - static protected function init_SERVER_RECV_FRAGMENT() { - return /** - * Optionally logs progress of a (SERVER_RECV, WIRE_RECV). For example, this - * could be one chunk in a chunked request. - */ -"srf"; - } - - static protected function init_LOCAL_COMPONENT() { - return /** - * The value of "lc" is the component or namespace of a local span. - * - * BinaryAnnotation.host adds service context needed to support queries. - * - * Local Component("lc") supports three key features: flagging, query by - * service and filtering Span.name by namespace. - * - * While structurally the same, local spans are fundamentally different than - * RPC spans in how they should be interpreted. For example, zipkin v1 tools - * center on RPC latency and service graphs. Root local-spans are neither - * indicative of critical path RPC latency, nor have impact on the shape of a - * service graph. By flagging with "lc", tools can special-case local spans. - * - * Zipkin v1 Spans are unqueryable unless they can be indexed by service name. - * The only path to a service name is by (Binary)?Annotation.host.serviceName. - * By logging "lc", a local span can be queried even if no other annotations - * are logged. - * - * The value of "lc" is the namespace of Span.name. For example, it might be - * "finatra2", for a span named "bootstrap". "lc" allows you to resolves - * conflicts for the same Span.name, for example "finatra/bootstrap" vs - * "finch/bootstrap". Using local component, you'd search for spans named - * "bootstrap" where "lc=finch" - */ -"lc"; - } - - static protected function init_CLIENT_ADDR() { - return /** - * Indicates a client address ("ca") in a span. Most likely, there's only one. - * Multiple addresses are possible when a client changes its ip or port within - * a span. - */ -"ca"; - } - - static protected function init_SERVER_ADDR() { - return /** - * Indicates a server address ("sa") in a span. Most likely, there's only one. - * Multiple addresses are possible when a client is redirected, or fails to a - * different server ip or port. - */ -"sa"; - } - - static protected function init_MESSAGE_ADDR() { - return /** - * Indicates the remote address of a messaging span, usually the broker. - */ -"ma"; - } -} - diff --git a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Zipkin/Endpoint.php b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Zipkin/Endpoint.php deleted file mode 100644 index 12ff02f96..000000000 --- a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Zipkin/Endpoint.php +++ /dev/null @@ -1,108 +0,0 @@ -<?php -namespace Jaeger\Thrift\Agent\Zipkin; - -/** - * Autogenerated by Thrift Compiler (0.11.0) - * - * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING - * @generated - */ -use Thrift\Base\TBase; -use Thrift\Type\TType; -use Thrift\Type\TMessageType; -use Thrift\Exception\TException; -use Thrift\Exception\TProtocolException; -use Thrift\Protocol\TProtocol; -use Thrift\Protocol\TBinaryProtocolAccelerated; -use Thrift\Exception\TApplicationException; - - -/** - * Indicates the network context of a service recording an annotation with two - * exceptions. - * - * When a BinaryAnnotation, and key is CLIENT_ADDR or SERVER_ADDR, - * the endpoint indicates the source or destination of an RPC. This exception - * allows zipkin to display network context of uninstrumented services, or - * clients such as web browsers. - */ -class Endpoint extends TBase { - static $isValidate = false; - - static $_TSPEC = array( - 1 => array( - 'var' => 'ipv4', - 'isRequired' => false, - 'type' => TType::I32, - ), - 2 => array( - 'var' => 'port', - 'isRequired' => false, - 'type' => TType::I16, - ), - 3 => array( - 'var' => 'service_name', - 'isRequired' => false, - 'type' => TType::STRING, - ), - 4 => array( - 'var' => 'ipv6', - 'isRequired' => false, - 'type' => TType::STRING, - ), - ); - - /** - * IPv4 host address packed into 4 bytes. - * - * Ex for the ip 1.2.3.4, it would be (1 << 24) | (2 << 16) | (3 << 8) | 4 - * - * @var int - */ - public $ipv4 = null; - /** - * IPv4 port - * - * Note: this is to be treated as an unsigned integer, so watch for negatives. - * - * Conventionally, when the port isn't known, port = 0. - * - * @var int - */ - public $port = null; - /** - * Service name in lowercase, such as "memcache" or "zipkin-web" - * - * Conventionally, when the service name isn't known, service_name = "unknown". - * - * @var string - */ - public $service_name = null; - /** - * IPv6 host address packed into 16 bytes. Ex Inet6Address.getBytes() - * - * @var string - */ - public $ipv6 = null; - - public function __construct($vals=null) { - if (is_array($vals)) { - parent::__construct(self::$_TSPEC, $vals); - } - } - - public function getName() { - return 'Endpoint'; - } - - public function read($input) - { - return $this->_read('Endpoint', self::$_TSPEC, $input); - } - - public function write($output) { - return $this->_write('Endpoint', self::$_TSPEC, $output); - } - -} - diff --git a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Zipkin/Response.php b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Zipkin/Response.php deleted file mode 100644 index 88c7f5e5d..000000000 --- a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Zipkin/Response.php +++ /dev/null @@ -1,56 +0,0 @@ -<?php -namespace Jaeger\Thrift\Agent\Zipkin; - -/** - * Autogenerated by Thrift Compiler (0.11.0) - * - * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING - * @generated - */ -use Thrift\Base\TBase; -use Thrift\Type\TType; -use Thrift\Type\TMessageType; -use Thrift\Exception\TException; -use Thrift\Exception\TProtocolException; -use Thrift\Protocol\TProtocol; -use Thrift\Protocol\TBinaryProtocolAccelerated; -use Thrift\Exception\TApplicationException; - - -class Response extends TBase { - static $isValidate = false; - - static $_TSPEC = array( - 1 => array( - 'var' => 'ok', - 'isRequired' => true, - 'type' => TType::BOOL, - ), - ); - - /** - * @var bool - */ - public $ok = null; - - public function __construct($vals=null) { - if (is_array($vals)) { - parent::__construct(self::$_TSPEC, $vals); - } - } - - public function getName() { - return 'Response'; - } - - public function read($input) - { - return $this->_read('Response', self::$_TSPEC, $input); - } - - public function write($output) { - return $this->_write('Response', self::$_TSPEC, $output); - } - -} - diff --git a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Zipkin/Span.php b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Zipkin/Span.php deleted file mode 100644 index 32a69b645..000000000 --- a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Zipkin/Span.php +++ /dev/null @@ -1,190 +0,0 @@ -<?php -namespace Jaeger\Thrift\Agent\Zipkin; - -/** - * Autogenerated by Thrift Compiler (0.11.0) - * - * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING - * @generated - */ -use Thrift\Base\TBase; -use Thrift\Type\TType; -use Thrift\Type\TMessageType; -use Thrift\Exception\TException; -use Thrift\Exception\TProtocolException; -use Thrift\Protocol\TProtocol; -use Thrift\Protocol\TBinaryProtocolAccelerated; -use Thrift\Exception\TApplicationException; - - -/** - * A trace is a series of spans (often RPC calls) which form a latency tree. - * - * The root span is where trace_id = id and parent_id = Nil. The root span is - * usually the longest interval in the trace, starting with a SERVER_RECV - * annotation and ending with a SERVER_SEND. - */ -class Span extends TBase { - static $isValidate = false; - - static $_TSPEC = array( - 1 => array( - 'var' => 'trace_id', - 'isRequired' => false, - 'type' => TType::I64, - ), - 3 => array( - 'var' => 'name', - 'isRequired' => false, - 'type' => TType::STRING, - ), - 4 => array( - 'var' => 'id', - 'isRequired' => false, - 'type' => TType::I64, - ), - 5 => array( - 'var' => 'parent_id', - 'isRequired' => false, - 'type' => TType::I64, - ), - 6 => array( - 'var' => 'annotations', - 'isRequired' => false, - 'type' => TType::LST, - 'etype' => TType::STRUCT, - 'elem' => array( - 'type' => TType::STRUCT, - 'class' => '\Jaeger\Thrift\Agent\Zipkin\Annotation', - ), - ), - 8 => array( - 'var' => 'binary_annotations', - 'isRequired' => false, - 'type' => TType::LST, - 'etype' => TType::STRUCT, - 'elem' => array( - 'type' => TType::STRUCT, - 'class' => '\Jaeger\Thrift\Agent\Zipkin\BinaryAnnotation', - ), - ), - 9 => array( - 'var' => 'debug', - 'isRequired' => false, - 'type' => TType::BOOL, - ), - 10 => array( - 'var' => 'timestamp', - 'isRequired' => false, - 'type' => TType::I64, - ), - 11 => array( - 'var' => 'duration', - 'isRequired' => false, - 'type' => TType::I64, - ), - 12 => array( - 'var' => 'trace_id_high', - 'isRequired' => false, - 'type' => TType::I64, - ), - ); - - /** - * @var int - */ - public $trace_id = null; - /** - * Span name in lowercase, rpc method for example - * - * Conventionally, when the span name isn't known, name = "unknown". - * - * @var string - */ - public $name = null; - /** - * @var int - */ - public $id = null; - /** - * @var int - */ - public $parent_id = null; - /** - * @var \Jaeger\Thrift\Agent\Zipkin\Annotation[] - */ - public $annotations = null; - /** - * @var \Jaeger\Thrift\Agent\Zipkin\BinaryAnnotation[] - */ - public $binary_annotations = null; - /** - * @var bool - */ - public $debug = false; - /** - * Microseconds from epoch of the creation of this span. - * - * This value should be set directly by instrumentation, using the most - * precise value possible. For example, gettimeofday or syncing nanoTime - * against a tick of currentTimeMillis. - * - * For compatibilty with instrumentation that precede this field, collectors - * or span stores can derive this via Annotation.timestamp. - * For example, SERVER_RECV.timestamp or CLIENT_SEND.timestamp. - * - * This field is optional for compatibility with old data: first-party span - * stores are expected to support this at time of introduction. - * - * @var int - */ - public $timestamp = null; - /** - * Measurement of duration in microseconds, used to support queries. - * - * This value should be set directly, where possible. Doing so encourages - * precise measurement decoupled from problems of clocks, such as skew or NTP - * updates causing time to move backwards. - * - * For compatibilty with instrumentation that precede this field, collectors - * or span stores can derive this by subtracting Annotation.timestamp. - * For example, SERVER_SEND.timestamp - SERVER_RECV.timestamp. - * - * If this field is persisted as unset, zipkin will continue to work, except - * duration query support will be implementation-specific. Similarly, setting - * this field non-atomically is implementation-specific. - * - * This field is i64 vs i32 to support spans longer than 35 minutes. - * - * @var int - */ - public $duration = null; - /** - * Optional unique 8-byte additional identifier for a trace. If non zero, this - * means the trace uses 128 bit traceIds instead of 64 bit. - * - * @var int - */ - public $trace_id_high = null; - - public function __construct($vals=null) { - if (is_array($vals)) { - parent::__construct(self::$_TSPEC, $vals); - } - } - - public function getName() { - return 'Span'; - } - - public function read($input) - { - return $this->_read('Span', self::$_TSPEC, $input); - } - - public function write($output) { - return $this->_write('Span', self::$_TSPEC, $output); - } - -} - diff --git a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Zipkin/ZipkinCollectorClient.php b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Zipkin/ZipkinCollectorClient.php deleted file mode 100644 index 2978675c4..000000000 --- a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Zipkin/ZipkinCollectorClient.php +++ /dev/null @@ -1,83 +0,0 @@ -<?php -namespace Jaeger\Thrift\Agent\Zipkin; -/** - * Autogenerated by Thrift Compiler (0.11.0) - * - * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING - * @generated - */ -use Thrift\Base\TBase; -use Thrift\Type\TType; -use Thrift\Type\TMessageType; -use Thrift\Exception\TException; -use Thrift\Exception\TProtocolException; -use Thrift\Protocol\TProtocol; -use Thrift\Protocol\TBinaryProtocolAccelerated; -use Thrift\Exception\TApplicationException; - - -class ZipkinCollectorClient implements \Jaeger\Thrift\Agent\Zipkin\ZipkinCollectorIf { - protected $input_ = null; - protected $output_ = null; - - protected $seqid_ = 0; - - public function __construct($input, $output=null) { - $this->input_ = $input; - $this->output_ = $output ? $output : $input; - } - - public function submitZipkinBatch(array $spans) - { - $this->send_submitZipkinBatch($spans); - return $this->recv_submitZipkinBatch(); - } - - public function send_submitZipkinBatch(array $spans) - { - $args = new \Jaeger\Thrift\Agent\Zipkin\ZipkinCollector_submitZipkinBatch_args(); - $args->spans = $spans; - $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); - if ($bin_accel) - { - thrift_protocol_write_binary($this->output_, 'submitZipkinBatch', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); - } - else - { - $this->output_->writeMessageBegin('submitZipkinBatch', TMessageType::CALL, $this->seqid_); - $args->write($this->output_); - $this->output_->writeMessageEnd(); - $this->output_->getTransport()->flush(); - } - } - - public function recv_submitZipkinBatch() - { - $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); - if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\Jaeger\Thrift\Agent\Zipkin\ZipkinCollector_submitZipkinBatch_result', $this->input_->isStrictRead()); - else - { - $rseqid = 0; - $fname = null; - $mtype = 0; - - $this->input_->readMessageBegin($fname, $mtype, $rseqid); - if ($mtype == TMessageType::EXCEPTION) { - $x = new TApplicationException(); - $x->read($this->input_); - $this->input_->readMessageEnd(); - throw $x; - } - $result = new \Jaeger\Thrift\Agent\Zipkin\ZipkinCollector_submitZipkinBatch_result(); - $result->read($this->input_); - $this->input_->readMessageEnd(); - } - if ($result->success !== null) { - return $result->success; - } - throw new \Exception("submitZipkinBatch failed: unknown result"); - } - -} - - diff --git a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Zipkin/ZipkinCollectorIf.php b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Zipkin/ZipkinCollectorIf.php deleted file mode 100644 index 83abf8119..000000000 --- a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Zipkin/ZipkinCollectorIf.php +++ /dev/null @@ -1,27 +0,0 @@ -<?php -namespace Jaeger\Thrift\Agent\Zipkin; -/** - * Autogenerated by Thrift Compiler (0.11.0) - * - * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING - * @generated - */ -use Thrift\Base\TBase; -use Thrift\Type\TType; -use Thrift\Type\TMessageType; -use Thrift\Exception\TException; -use Thrift\Exception\TProtocolException; -use Thrift\Protocol\TProtocol; -use Thrift\Protocol\TBinaryProtocolAccelerated; -use Thrift\Exception\TApplicationException; - - -interface ZipkinCollectorIf { - /** - * @param \Jaeger\Thrift\Agent\Zipkin\Span[] $spans - * @return \Jaeger\Thrift\Agent\Zipkin\Response[] - */ - public function submitZipkinBatch(array $spans); -} - - diff --git a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Zipkin/ZipkinCollector_submitZipkinBatch_args.php b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Zipkin/ZipkinCollector_submitZipkinBatch_args.php deleted file mode 100644 index 24d25b078..000000000 --- a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Zipkin/ZipkinCollector_submitZipkinBatch_args.php +++ /dev/null @@ -1,60 +0,0 @@ -<?php -namespace Jaeger\Thrift\Agent\Zipkin; -/** - * Autogenerated by Thrift Compiler (0.11.0) - * - * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING - * @generated - */ -use Thrift\Base\TBase; -use Thrift\Type\TType; -use Thrift\Type\TMessageType; -use Thrift\Exception\TException; -use Thrift\Exception\TProtocolException; -use Thrift\Protocol\TProtocol; -use Thrift\Protocol\TBinaryProtocolAccelerated; -use Thrift\Exception\TApplicationException; - - -class ZipkinCollector_submitZipkinBatch_args extends TBase { - static $isValidate = false; - - static $_TSPEC = array( - 1 => array( - 'var' => 'spans', - 'isRequired' => false, - 'type' => TType::LST, - 'etype' => TType::STRUCT, - 'elem' => array( - 'type' => TType::STRUCT, - 'class' => '\Jaeger\Thrift\Agent\Zipkin\Span', - ), - ), - ); - - /** - * @var \Jaeger\Thrift\Agent\Zipkin\Span[] - */ - public $spans = null; - - public function __construct($vals=null) { - if (is_array($vals)) { - parent::__construct(self::$_TSPEC, $vals); - } - } - - public function getName() { - return 'ZipkinCollector_submitZipkinBatch_args'; - } - - public function read($input) - { - return $this->_read('ZipkinCollector_submitZipkinBatch_args', self::$_TSPEC, $input); - } - - public function write($output) { - return $this->_write('ZipkinCollector_submitZipkinBatch_args', self::$_TSPEC, $output); - } - -} - diff --git a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Zipkin/ZipkinCollector_submitZipkinBatch_result.php b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Zipkin/ZipkinCollector_submitZipkinBatch_result.php deleted file mode 100644 index faf165446..000000000 --- a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Zipkin/ZipkinCollector_submitZipkinBatch_result.php +++ /dev/null @@ -1,60 +0,0 @@ -<?php -namespace Jaeger\Thrift\Agent\Zipkin; -/** - * Autogenerated by Thrift Compiler (0.11.0) - * - * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING - * @generated - */ -use Thrift\Base\TBase; -use Thrift\Type\TType; -use Thrift\Type\TMessageType; -use Thrift\Exception\TException; -use Thrift\Exception\TProtocolException; -use Thrift\Protocol\TProtocol; -use Thrift\Protocol\TBinaryProtocolAccelerated; -use Thrift\Exception\TApplicationException; - - -class ZipkinCollector_submitZipkinBatch_result extends TBase { - static $isValidate = false; - - static $_TSPEC = array( - 0 => array( - 'var' => 'success', - 'isRequired' => false, - 'type' => TType::LST, - 'etype' => TType::STRUCT, - 'elem' => array( - 'type' => TType::STRUCT, - 'class' => '\Jaeger\Thrift\Agent\Zipkin\Response', - ), - ), - ); - - /** - * @var \Jaeger\Thrift\Agent\Zipkin\Response[] - */ - public $success = null; - - public function __construct($vals=null) { - if (is_array($vals)) { - parent::__construct(self::$_TSPEC, $vals); - } - } - - public function getName() { - return 'ZipkinCollector_submitZipkinBatch_result'; - } - - public function read($input) - { - return $this->_read('ZipkinCollector_submitZipkinBatch_result', self::$_TSPEC, $input); - } - - public function write($output) { - return $this->_write('ZipkinCollector_submitZipkinBatch_result', self::$_TSPEC, $output); - } - -} - |