* migrate Clock classes to API - move Clock* + Util into API - add a deprecated wrapper for ClockFactory and Util - remove unused StopWatch* classes * review feedback * replace ClockFactory with Clock It's not really a factory, and really only provides access to a system clock. Create a Clock class which is more clear in its purpose. * remove time Util class per review feedback, it's only used in Zipkin. Removed some unused consts from ClockInterface * Apply suggestions from code review Co-authored-by: Tobias Bachert <git@b-privat.de> --------- Co-authored-by: Tobias Bachert <git@b-privat.de>  | 
			||
|---|---|---|
| .github | ||
| .phan | ||
| docker | ||
| docs | ||
| examples | ||
| files/collector | ||
| proto/otel | ||
| script | ||
| src | ||
| tests | ||
| var/metrics | ||
| .dockerignore | ||
| .editorconfig | ||
| .env.dist | ||
| .gitattributes | ||
| .gitignore | ||
| .gitsplit.yml | ||
| .php-cs-fixer.php | ||
| .phpcs.xml | ||
| .scrutinizer.yml | ||
| CODEOWNERS | ||
| CONTRIBUTING.md | ||
| DEVELOPMENT.md | ||
| LICENSE | ||
| Makefile | ||
| README.md | ||
| code-of-conduct.md | ||
| codecov.yml | ||
| composer.json | ||
| deptrac.baseline.yaml | ||
| deptrac.yaml | ||
| docker-compose.collector.yaml | ||
| docker-compose.fiber-ffi.yaml | ||
| docker-compose.prometheus.yaml | ||
| docker-compose.w3cTraceContext.yaml | ||
| docker-compose.yaml | ||
| phpbench.json.dist | ||
| phpmetrics.json | ||
| phpstan.neon.dist | ||
| phpunit.xml.dist | ||
| psalm.xml.dist | ||
| rector.php | ||
		
			
				
				README.md
			
		
		
			
			
		
	
	OpenTelemetry for PHP
This is the monorepo for the main components of OpenTelemetry for PHP.
Documentation
Please read the official documentation: https://opentelemetry.io/docs/instrumentation/php/
Packages and versions
| Package | Latest | 
|---|---|
| API | |
| SDK | |
| Context | |
| Semantic Conventions | |
| OTLP Exporter | |
| gRPC Transport | |
| OTLP Protobuf Files | |
| B3 Propagator | 
Releases for both this repository and contrib are based on read-only git subtree splits from our monorepo. You should refer to packagist.org for all packages, their versions and details.
You can also look at the read-only repositories, which live in the opentelemetry-php organization.
Contributing
We would love to have you on board, please see our Development README and Contributing README.
Specification conformance
We attempt to keep the OpenTelemetry Specification Matrix up to date in order to show which features are available and which have not yet been implemented.
If you find an inconsistency in the data in the matrix, please let us know in our slack channel and we'll get it rectified.
Backwards compatibility
See compatibility readme.
Versioning
OpenTelemetry for PHP aims to support all officially supported PHP versions according to https://www.php.net/supported-versions.php, and support will be dropped for PHP versions within 12 months of that version going End of life.
Versioning rationale can be found in the Versioning Documentation