Commit Graph

1 Commits

Author SHA1 Message Date
Grunet 015907c2f2
Revamped PR for Jaeger Agent Support (#545)
* Moving the files to what I think are their correct new location
* Initial resolution of some of the parsing and intellisense errors
* Installing apache/thrift to solve more of the parsing issues
* Updating AgentExporter to conform to the updated SpanExporterInterface
* Switching to the new method names on SpanDataInterface
* Make the thrift generation script executable
* Fixing the last intellisense issue in AgentExporter
* Generating these thrift IDL files seems to have resolved the remaining parsing/intellisense errors
* Update thrift generation script to change target directory
* Generate the thrift idl files in the new directory
* Clean up conflicts with SpanExporterTrait's declaration of isRunning
* initial scaffolding for a happy path
* Fix lookup for socket functions to not look in the Jaeger declared namespace
* Setting up the autoloader so auto-generated thrift files can be found
* Switching to use the static method for creating the object under test
* Add a method and assertions to the happy path
* Doing some more exercise by passing in a shell span to export
* Clean up the socket at the end of the test
* Extend the happy path's coverage slightly
* Move exertion of the tag generation logic into a unit test
* Commenting out apparently dead code
* Adding a unit test exercising the happy path of the SpanConverter in more detail
* Ordering assertSame parameters correctly
* Cleaning up the 2 new tests a little
* Updating tests to match the new naming convention upstream
* Run make style
* Fix psalm errors
* Fixing most of the phpstan errors
* Fix test broken by psalm changes
* Fix phan config issues
* Fix phpstan issues
* Preventing installations on non-64 bit systems that won't work with Jaeger ids
* Manually merge changes to composer.json
* Fix 64 bit requirement setup
* Some more manual merging to try and resolve composer.json conflicts
* Update namespace for SpanData test helper to fix psalm issues
* Move the test files to what appear to be their new locations
* Fix failing test around getValue call on attributes (not exactly sure how this was passing before, but now it matches the zipkin version)
* Add @covers attributes to the test files
* Moving AgentExporterTest under the Unit folder because tests under the integration folder don't have their coverage reported
* Commenting out CodecUtility to see how that affects the coverage
* Adding in requirements and suggestions for ext-sockets into the composer.json's
* Switch to self when invoking the static method
* Rename Transport to TransportInterface
* Switch to using the logging trait instead of calling error_log directly
* Removing 64-bit install requirement
* Refactor anything needing to use intval into 1 function
* Adding a runtime check for 64-bit integer support
* Adding missing return types on methods
* Moving ext-sockets to be a suggest in the contrib composer.json too
* Remove extraneous comments in tests
* Switch to use shared time unit conversion method
* Clarify what the pre-existing commented out code should be used for
* Run style fixer
* Move 64bit check into a constructor
* Deleting the unused CodecUtility file
* Converting the TODO to a NOTE for the 2nd commented out block in SpanConverter
2022-01-13 15:22:53 +11:00