Commit Graph

3 Commits

Author SHA1 Message Date
Fahmy Mohammed bed3ec20f2
Trace context propagation (#213)
* Add W3C traceparent propagation

* Add traceparent propagation test

* clean up styling

* clean up styling

* increase test coverage

* fix phan faiure

* add propagation map tests

* PR comments

* fix docblock errors
2020-11-18 13:36:18 -05:00
Dalibor Karlović 72ff1f2b6c
Issues found by Psalm / PHPStan level 4 and CS Fixer (#185)
* fix: small issues found by Psalm level 4

* fix: small issues found by PHPStan level 4
2020-10-04 12:11:37 -04:00
Levi Morrison 3262c429ff
Add API Interfaces (#64)
* Migrate src/ to sdk/ and api/

Co-authored-by: Bob Strecansky <bob.strecansky@gmail.com>

* Rename TracerFactory to TracerProvider

This follows opentelemetry/oteps#76.

Also start moving sdk tests into the sdk/Tests folder

* Touch up SpanStatus and ending spans

* Remove getTracerVersion and getTracerName

These aren't described in the spec -- we can add them back later
if we need to, but I suspect they belong only in the SDK, if anywhere.

* Update phan config and fix some warnings

* Start writing SpanOptions

Also start fixing examples, currently broken

* Fix PhpUnit 9 incompatibilities

Co-authored-by: Bob Strecansky <bob.strecansky@gmail.com>
2020-03-26 19:31:19 -04:00