From 276544d3c7c30cab5d251d3e2da5d6d54ec45497 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sat, 26 Aug 2017 08:29:16 +0200 Subject: v0.0.3 --- REFLECTION | 21 ++++++++++++--- common.php | 69 ------------------------------------------------ php-pecl-opencensus.spec | 5 +++- 3 files changed, 21 insertions(+), 74 deletions(-) delete mode 100644 common.php diff --git a/REFLECTION b/REFLECTION index ddaabe1..d87dfc6 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #15 opencensus version 0.0.2 ] { +Extension [ extension #114 opencensus version 0.0.3 ] { - Functions { Function [ function opencensus_version ] { @@ -59,7 +59,12 @@ Extension [ extension #15 opencensus version 0.0.2 ] { - Classes [2] { Class [ class OpenCensus\Trace\Span ] { - - Constants [0] { + - Constants [5] { + Constant [ integer SPAN_KIND_UNKNOWN ] { 0 } + Constant [ integer SPAN_KIND_CLIENT ] { 1 } + Constant [ integer SPAN_KIND_SERVER ] { 2 } + Constant [ integer SPAN_KIND_PRODUCER ] { 3 } + Constant [ integer SPAN_KIND_CONSUMER ] { 4 } } - Static properties [0] { @@ -68,16 +73,18 @@ Extension [ extension #15 opencensus version 0.0.2 ] { - Static methods [0] { } - - Properties [6] { + - Properties [8] { Property [ protected $name ] Property [ protected $spanId ] Property [ protected $parentSpanId ] Property [ protected $startTime ] Property [ protected $endTime ] + Property [ protected $kind ] Property [ protected $labels ] + Property [ protected $backtrace ] } - - Methods [7] { + - Methods [9] { Method [ public method __construct ] { - Parameters [1] { @@ -102,6 +109,12 @@ Extension [ extension #15 opencensus version 0.0.2 ] { Method [ public method endTime ] { } + + Method [ public method backtrace ] { + } + + Method [ public method kind ] { + } } } diff --git a/common.php b/common.php deleted file mode 100644 index 7d06872..0000000 --- a/common.php +++ /dev/null @@ -1,69 +0,0 @@ -val = $val; - } - - public static function asdf() - { - return 'qwer'; - } - - public static function plus($a, $b) - { - return $a + $b; - } - - public function bar() - { - return 1; - } - - public function add($a, $b) - { - return $a + $b; - } - - public function context() - { - return opencensus_trace_context(); - } - } -} - -namespace Illuminate\Database\Eloquent -{ - // fake class with method we know is traced - class Model - { - public function delete() { - - } - } -} diff --git a/php-pecl-opencensus.spec b/php-pecl-opencensus.spec index 86a6b19..d6e8435 100644 --- a/php-pecl-opencensus.spec +++ b/php-pecl-opencensus.spec @@ -22,7 +22,7 @@ Summary: A stats collection and distributed tracing framework Name: %{?sub_prefix}php-pecl-opencensus -Version: 0.0.2 +Version: 0.0.3 Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: ASL 2.0 Group: Development/Languages @@ -224,6 +224,9 @@ fi %changelog +* Sat Aug 26 2017 Remi Collet - 0.0.3-1 +- Update to 0.0.3 + * Wed Aug 16 2017 Remi Collet - 0.0.2-1 - Update to 0.0.2 -- cgit