The OpenTelemetry PHP Library
Go to file
Beniamin 2aeb5d1617 add composer.lock into repo in order for all maintainers to work with same version of libraries(phan, phpunit, etc) (#37) 2019-12-22 09:17:21 -05:00
.github/ISSUE_TEMPLATE Adding Issue Templates (#16) 2019-10-15 19:44:20 -04:00
.phan Adding phan and a Docker hook for phan (#27) 2019-12-06 19:12:56 -05:00
examples Performing Always and Never Sample Steps (#30) 2019-12-10 13:48:22 -05:00
resources Performing Always and Never Sample Steps (#30) 2019-12-10 13:48:22 -05:00
src Performing Always and Never Sample Steps (#30) 2019-12-10 13:48:22 -05:00
tests Performing Always and Never Sample Steps (#30) 2019-12-10 13:48:22 -05:00
.gitignore add composer.lock into repo in order for all maintainers to work with same version of libraries(phan, phpunit, etc) (#37) 2019-12-22 09:17:21 -05:00
.travis.yml added general .travis.yaml file (#28) 2019-11-15 16:59:30 -05:00
LICENSE Initial commit 2019-09-27 11:08:24 -07:00
README.md Performing Always and Never Sample Steps (#30) 2019-12-10 13:48:22 -05:00
composer.json Adding phan and a Docker hook for phan (#27) 2019-12-06 19:12:56 -05:00
composer.lock add composer.lock into repo in order for all maintainers to work with same version of libraries(phan, phpunit, etc) (#37) 2019-12-22 09:17:21 -05:00
phpunit.xml.dist initial commit (#18) 2019-11-06 09:06:27 -05:00

README.md

OpenTelemetry php library

Gitter Build Status Scrutinizer Code Quality Code Coverage

Our meetings are held weekly on Wednesdays at 10:30am PST / 1:30pm EST. Please reach out on gitter.im if you'd like to be invited. The public calendar invite will be shared once it becomes avaiable.

Installation

The recommended way to install the library is through Composer:

$ composer require open-telemetry/opentelemetry

Examples

You can use the examples/AlwaysSampleTraceExample.php file to test out the reference implementation we have. This can be easily executed with docker by running ./resources/example-using-docker from the root of the repository.

Static Analysis

We use Phan for static analysis. Currently our phan configuration is just set with a standard default analysis configuration. You can use our phan docker hook to easily perform static analysis on your changes: ./resources/phan-using-docker

Testing

To make sure the tests in this repo work as you expect, you can use the included docker test wrapper:

1.) Make sure that you have docker installed 2.) Execute ./resources/test-using-docker from your bash compatible shell.

Caveats

The Span Links concept is not yet implemented.