summaryrefslogtreecommitdiff
path: root/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent')
-rw-r--r--vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/AgentClient.php76
-rw-r--r--vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/AgentIf.php30
-rw-r--r--vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Agent_emitBatch_args.php56
-rw-r--r--vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Agent_emitZipkinBatch_args.php60
-rw-r--r--vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/AggregationValidatorClient.php83
-rw-r--r--vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/AggregationValidatorIf.php27
-rw-r--r--vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/AggregationValidator_validateTrace_args.php55
-rw-r--r--vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/AggregationValidator_validateTrace_result.php56
-rw-r--r--vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/BaggageRestriction.php65
-rw-r--r--vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/BaggageRestrictionManagerClient.php83
-rw-r--r--vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/BaggageRestrictionManagerIf.php31
-rw-r--r--vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/BaggageRestrictionManager_getBaggageRestrictions_args.php55
-rw-r--r--vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/BaggageRestrictionManager_getBaggageRestrictions_result.php60
-rw-r--r--vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Dependencies.php61
-rw-r--r--vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/DependencyClient.php105
-rw-r--r--vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/DependencyIf.php31
-rw-r--r--vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/DependencyLink.php74
-rw-r--r--vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Dependency_getDependenciesForTrace_args.php55
-rw-r--r--vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Dependency_getDependenciesForTrace_result.php56
-rw-r--r--vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Dependency_saveDependencies_args.php56
-rw-r--r--vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/OperationSamplingStrategy.php66
-rw-r--r--vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/PerOperationSamplingStrategies.php88
-rw-r--r--vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/ProbabilisticSamplingStrategy.php56
-rw-r--r--vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/RateLimitingSamplingStrategy.php56
-rw-r--r--vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/SamplingManagerClient.php83
-rw-r--r--vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/SamplingManagerIf.php27
-rw-r--r--vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/SamplingManager_getSamplingStrategy_args.php55
-rw-r--r--vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/SamplingManager_getSamplingStrategy_result.php56
-rw-r--r--vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/SamplingStrategyResponse.php86
-rw-r--r--vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/SamplingStrategyType.php28
-rw-r--r--vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/ValidateTraceResponse.php65
-rw-r--r--vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Zipkin/Annotation.php87
-rw-r--r--vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Zipkin/AnnotationType.php38
-rw-r--r--vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Zipkin/BinaryAnnotation.php106
-rw-r--r--vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Zipkin/Constant.php246
-rw-r--r--vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Zipkin/Endpoint.php108
-rw-r--r--vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Zipkin/Response.php56
-rw-r--r--vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Zipkin/Span.php190
-rw-r--r--vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Zipkin/ZipkinCollectorClient.php83
-rw-r--r--vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Zipkin/ZipkinCollectorIf.php27
-rw-r--r--vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Zipkin/ZipkinCollector_submitZipkinBatch_args.php60
-rw-r--r--vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Zipkin/ZipkinCollector_submitZipkinBatch_result.php60
42 files changed, 2902 insertions, 0 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
new file mode 100644
index 000000000..640df4598
--- /dev/null
+++ b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/AgentClient.php
@@ -0,0 +1,76 @@
+<?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
new file mode 100644
index 000000000..30efc8cf3
--- /dev/null
+++ b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/AgentIf.php
@@ -0,0 +1,30 @@
+<?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
new file mode 100644
index 000000000..9d11b409c
--- /dev/null
+++ b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Agent_emitBatch_args.php
@@ -0,0 +1,56 @@
+<?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
new file mode 100644
index 000000000..cc58527bb
--- /dev/null
+++ b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Agent_emitZipkinBatch_args.php
@@ -0,0 +1,60 @@
+<?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
new file mode 100644
index 000000000..73825978a
--- /dev/null
+++ b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/AggregationValidatorClient.php
@@ -0,0 +1,83 @@
+<?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
new file mode 100644
index 000000000..853cd2a4f
--- /dev/null
+++ b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/AggregationValidatorIf.php
@@ -0,0 +1,27 @@
+<?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
new file mode 100644
index 000000000..2f4d1171c
--- /dev/null
+++ b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/AggregationValidator_validateTrace_args.php
@@ -0,0 +1,55 @@
+<?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
new file mode 100644
index 000000000..6060c5ae3
--- /dev/null
+++ b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/AggregationValidator_validateTrace_result.php
@@ -0,0 +1,56 @@
+<?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
new file mode 100644
index 000000000..27593c4c1
--- /dev/null
+++ b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/BaggageRestriction.php
@@ -0,0 +1,65 @@
+<?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
new file mode 100644
index 000000000..379153534
--- /dev/null
+++ b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/BaggageRestrictionManagerClient.php
@@ -0,0 +1,83 @@
+<?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
new file mode 100644
index 000000000..010bda741
--- /dev/null
+++ b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/BaggageRestrictionManagerIf.php
@@ -0,0 +1,31 @@
+<?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
new file mode 100644
index 000000000..6f2b4650a
--- /dev/null
+++ b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/BaggageRestrictionManager_getBaggageRestrictions_args.php
@@ -0,0 +1,55 @@
+<?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
new file mode 100644
index 000000000..a3c52b37c
--- /dev/null
+++ b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/BaggageRestrictionManager_getBaggageRestrictions_result.php
@@ -0,0 +1,60 @@
+<?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
new file mode 100644
index 000000000..4295b9798
--- /dev/null
+++ b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Dependencies.php
@@ -0,0 +1,61 @@
+<?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
new file mode 100644
index 000000000..2c247633d
--- /dev/null
+++ b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/DependencyClient.php
@@ -0,0 +1,105 @@
+<?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
new file mode 100644
index 000000000..c9432e7d8
--- /dev/null
+++ b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/DependencyIf.php
@@ -0,0 +1,31 @@
+<?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
new file mode 100644
index 000000000..14cfa5132
--- /dev/null
+++ b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/DependencyLink.php
@@ -0,0 +1,74 @@
+<?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
new file mode 100644
index 000000000..5100ea77b
--- /dev/null
+++ b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Dependency_getDependenciesForTrace_args.php
@@ -0,0 +1,55 @@
+<?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
new file mode 100644
index 000000000..ebdd1303e
--- /dev/null
+++ b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Dependency_getDependenciesForTrace_result.php
@@ -0,0 +1,56 @@
+<?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
new file mode 100644
index 000000000..0d250c297
--- /dev/null
+++ b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Dependency_saveDependencies_args.php
@@ -0,0 +1,56 @@
+<?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
new file mode 100644
index 000000000..7532a7b50
--- /dev/null
+++ b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/OperationSamplingStrategy.php
@@ -0,0 +1,66 @@
+<?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
new file mode 100644
index 000000000..2a6ae8a61
--- /dev/null
+++ b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/PerOperationSamplingStrategies.php
@@ -0,0 +1,88 @@
+<?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
new file mode 100644
index 000000000..708ceb9a4
--- /dev/null
+++ b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/ProbabilisticSamplingStrategy.php
@@ -0,0 +1,56 @@
+<?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
new file mode 100644
index 000000000..d5502e8ee
--- /dev/null
+++ b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/RateLimitingSamplingStrategy.php
@@ -0,0 +1,56 @@
+<?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
new file mode 100644
index 000000000..9f5494a91
--- /dev/null
+++ b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/SamplingManagerClient.php
@@ -0,0 +1,83 @@
+<?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
new file mode 100644
index 000000000..ef17cf308
--- /dev/null
+++ b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/SamplingManagerIf.php
@@ -0,0 +1,27 @@
+<?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
new file mode 100644
index 000000000..f39203efe
--- /dev/null
+++ b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/SamplingManager_getSamplingStrategy_args.php
@@ -0,0 +1,55 @@
+<?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
new file mode 100644
index 000000000..79e6dce58
--- /dev/null
+++ b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/SamplingManager_getSamplingStrategy_result.php
@@ -0,0 +1,56 @@
+<?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
new file mode 100644
index 000000000..bc807a57d
--- /dev/null
+++ b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/SamplingStrategyResponse.php
@@ -0,0 +1,86 @@
+<?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
new file mode 100644
index 000000000..c8dff918a
--- /dev/null
+++ b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/SamplingStrategyType.php
@@ -0,0 +1,28 @@
+<?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
new file mode 100644
index 000000000..226f61e80
--- /dev/null
+++ b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/ValidateTraceResponse.php
@@ -0,0 +1,65 @@
+<?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
new file mode 100644
index 000000000..e7e48dade
--- /dev/null
+++ b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Zipkin/Annotation.php
@@ -0,0 +1,87 @@
+<?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
new file mode 100644
index 000000000..e21c0b0d8
--- /dev/null
+++ b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Zipkin/AnnotationType.php
@@ -0,0 +1,38 @@
+<?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
new file mode 100644
index 000000000..806a74831
--- /dev/null
+++ b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Zipkin/BinaryAnnotation.php
@@ -0,0 +1,106 @@
+<?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
new file mode 100644
index 000000000..ebfcebe48
--- /dev/null
+++ b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Zipkin/Constant.php
@@ -0,0 +1,246 @@
+<?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
new file mode 100644
index 000000000..12ff02f96
--- /dev/null
+++ b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Zipkin/Endpoint.php
@@ -0,0 +1,108 @@
+<?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
new file mode 100644
index 000000000..88c7f5e5d
--- /dev/null
+++ b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Zipkin/Response.php
@@ -0,0 +1,56 @@
+<?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
new file mode 100644
index 000000000..32a69b645
--- /dev/null
+++ b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Zipkin/Span.php
@@ -0,0 +1,190 @@
+<?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
new file mode 100644
index 000000000..2978675c4
--- /dev/null
+++ b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Zipkin/ZipkinCollectorClient.php
@@ -0,0 +1,83 @@
+<?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
new file mode 100644
index 000000000..83abf8119
--- /dev/null
+++ b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Zipkin/ZipkinCollectorIf.php
@@ -0,0 +1,27 @@
+<?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
new file mode 100644
index 000000000..24d25b078
--- /dev/null
+++ b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Zipkin/ZipkinCollector_submitZipkinBatch_args.php
@@ -0,0 +1,60 @@
+<?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
new file mode 100644
index 000000000..faf165446
--- /dev/null
+++ b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Thrift/Agent/Zipkin/ZipkinCollector_submitZipkinBatch_result.php
@@ -0,0 +1,60 @@
+<?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);
+ }
+
+}
+