Commit Graph

10 Commits

Author SHA1 Message Date
Bob Strecansky 55cc8b6ff1 Update Examples with SpanKind (#82)
* Update Examples with SpanKind

* make style
2020-05-15 16:27:38 -04:00
Beniamin e5eda43ad9
Jaeger exporter (#70)
* make zipkin-exporter implementation simpler

* add Jaeger exporter and fix zipkin exporter timestamps

* move zipkin converter logic outside of exporters

* start containers before running examples

* fix open-telemetry badge codecov.io url

* fix phpunit whitelist after api and sdk splitting
2020-04-05 16:05:52 -04:00
lalex 783ccdde06
Built-in samplers implementation (#66)
* Built-in samplers implementation
- AlwaysOffSampler
- AlwaysOnSampler
- AlwaysParentSampler
- ProbabilitySampler

* Fix code standards

* Apply an API interface refactoring

* Fix sampler examples

* Fix coding standards

* Move files around, fix small issues

* Fix doc block and coding standards

Co-authored-by: Levi Morrison <levi.morrison@datadoghq.com>
2020-04-01 17:53:43 -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
Bob Strecansky a3a5cab776
Updating README.md (#61) 2020-03-11 22:57:02 -04:00
Alan Storm d8a554b598
Fixes Broken Example Code and Link in README (#59)
* Give examples working code

* Fix link in README

* php-cs changes
2020-02-12 21:40:44 -05:00
Nenad Stojanovikj 7fe89db0ae Add php-cs-fixer (#50)
* Add php-cs-fixer to dev requirements

* Ignore php-cs-fixer cache file

* Add style guide configuration file

* Correct style of all PHP files

* Add Makefile target for style fixing
2020-01-24 08:15:22 -05:00
Beniamin 3d56cb7adf implement ZipkinExporter::export, and Process spans in Tracer (#41) 2020-01-20 21:48:15 -05:00
Beniamin 0991f72146 TracerFactory implementation (#38)
* implement TracerFactory, begin migration to recommended library layout, use docker-compose and make to simplify development

* add tests for all TracerFactory method, move TraceFactory configuration in constructor

* run phan in travis-ci build

* rename namespace Tracing into Trace
2020-01-07 08:39:14 -05:00
Bob Strecansky c863d37cff
Performing Always and Never Sample Steps (#30)
* Performing Always and Never Sample Steps

* Updating examples to remove builder

* Updating examples to remove builder

* Removing builder from always off trace example
2019-12-10 13:48:22 -05:00