Commit Graph

16 Commits

Author SHA1 Message Date
Przemyslaw Delewski ee26eaa5d8
Remove JaegerExporter and update interface (#908) 2023-01-10 09:25:34 +11:00
Tobias Bachert 84142d35e9
Rename `AbstractSpan` to `Span` for consistent access to static methods (#824)
* Rename `AbstractSpan` to `Span` for consistent access to static methods
* Add BC layer for `AbstractSpan`
2022-09-15 09:07:52 +10:00
Kishan Sangani 13ce2da243
Updated Laravel and Symfony quickstarts (#696)
* Updated laravel-quickstart.md

* Updated symfony-quickstart.md

* Replaced setStatus with recordException in the child span

* Removed TODO comment

* Changes from PR 701 by DrLuke
2022-06-29 15:41:08 +02:00
Yukti 88db9039fa
Update framework integration docs (#689)
* Update framework integration docs

* Apply suggestions from review

- Avoid multiple constructor calls.
- Grammar regression.
- Fix type `s/jaegar/jaeger`.

* Update exporters + sampling to the new API (per review)

* Fix setup instructions and improve consistency and style

* Update span status handling and current span fetch

* Introduce warnings and demote to "Exploration guides"

* chore: rename framework "guides"
2022-06-01 21:53:21 -04:00
Timo Michna 8e1e912c92
Move and refactor clock components (#633)
* Move Clock classes to SDK\Common\Time namespace

* Move conversion methods to Util class

* Implement StopWatch

* Implement ClockFactory

* Fix StopwatchInterface

* Finalize ClockFactory

* Implement StopWatchFactory

* Deprecate AbstractClock

* Add BC alias

* Add initial start time to StopWatch

* Unify and optimize SystemClock methods

* Use ClockFactory in Span

* Use ClockFactory in BatchSpanProcessor

* Use ClockInterface in BatchSpanProcessorTest

* Use ClockFactory in SpanData

* Use ClockFactory in examples

* Add millisToNanos Util method

* Use StopWatch in BatchSpanProcessor

* Make Phan happy

* Make Psalm happy

* Make PHPUnit happy

* Remove sllh/composer-versions-check from allowed composer plugins

* Use correct assertion

* Use correct assertion

* Assert difference
2022-03-25 23:26:39 +01:00
Bart Reunes 794b387fbd
Fix the port environment variable (#551)
After reading a few open GitHub issues, I'm aware that it is known that the Symfony/Laravel examples as a whole are not up-to-date with the sdk code, but the docker-compose tutorial is on point. So if it's okay, I want to update it to the latest Jaeger version.

https://github.com/jaegertracing/jaeger/releases/tag/v1.22.0

> --collector.zipkin.http-port is replaced by --collector.zipkin.host-port
2022-01-18 10:11:40 -05:00
Tobias Bachert 6ff577b417
Restructure API / SDK components (Attributes, Clock, Trace) (#521)
* Move Attributes and Clock out of /Trace namespace

Also needed for other components (metrics).

* Move Event and Link to SDK

* Move NoopTracer to API

* Remove `Attribute` abstraction

* Move `Attributes` to SDK by widening API attributes types to `iterable`

* Move `Clockinterface` to SDK

* Fix fqcn usage

* Readd `AttributesInterface` mock

* Move `TraceState` and W3C `TraceContextPropagator` to API
2022-01-01 18:51:36 +11:00
George Dietrich 01c388e02c
Reorganize types (#434)
* Create and move namespaces into `src/` directory

* Update `composer.json`

Move test helpers outside of `SDK` namespace into `Tests`

* Follow PSR naming conventions for interfaces

* Follow PSR naming conventions for abstract classes and traits

* Do a pass on CI configs

* Add examples directory to cs-fixer config

* Fix some erroneously renamed type names
2021-10-03 06:32:46 -04:00
Bob Weinand 546f4c3b85
Fix merging of attributes provided within SamplingResult in Tracer (#384) 2021-07-28 10:27:06 -04:00
Tobias Bachert d908922a79
Remove Tracer::endActiveSpan() (#365) 2021-06-21 10:32:59 -04:00
Onyemenam Ndubuisi 8f2c077eac
Update laravel guide for v.0.0.2 (#361)
* Update laravel guide for v.0.0.2

* Make updates to imports for index.php
2021-06-16 13:25:42 -04:00
Eli Hooten 550df641c1
Remove Note about downgrading Guzzle (#340)
opentelemetry-php now ships with ` "guzzlehttp/guzzle": "^7.1.0"`. See: https://github.com/open-telemetry/opentelemetry-php/blob/main/composer.json#L9

This is out of the box compatible with Laravel 8. Therefore this change removes the note about needing to downgrade Guzzle.
2021-05-27 14:29:28 -04:00
Bob Strecansky a9883f98df
Fix Typo (#320) 2021-05-04 21:52:15 -04:00
Onyemenam Ndubuisi 08b149fa2a
Feature/make guides accessible (#311)
* Reduce image size for Laravel guide

* Compress symfony guide images

* Add user guide link to readme
2021-04-21 20:48:29 -04:00
Onyemenam Ndubuisi 8bc993ea27
Feature/add laravel integration guide (#306)
* Add Laravel user guide

* make improvements to symfony guide
2021-04-14 15:04:36 -04:00
Bob Strecansky cc1d882f3a
Semantic Versioning Rationale (#232)
* Semantic Versioning Rationale

* Update docs/versioning.md

Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>

* Daniel Dyla Suggestions

Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
2021-01-07 10:53:49 -05:00