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); } }