The OpenTelemetry PHP Library
Go to file
Brett McBride 91f5e20ffc
document when we drop support for end of life PHP versions (#1222)
2024-01-31 07:57:34 -05:00
.github cache php extensions (#1213) 2024-01-17 08:32:21 +11:00
.phan fixing phpunit 9.6 deprecations (#922) 2023-02-13 18:43:57 +11:00
docker refactor otlp exporter (#838) 2022-11-02 08:31:48 -04:00
docs Remove JaegerExporter and update interface (#908) 2023-01-10 09:25:34 +11:00
examples fix: documentations links (#1125) 2023-10-13 11:48:23 +11:00
files/collector adding logs signal (#934) 2023-03-22 08:11:51 -04:00
proto/otel update proto to 1.1.0 (#1215) 2024-01-17 08:54:57 +11:00
script generate semconv 1.24.0 (#1219) 2024-01-24 08:47:17 +11:00
src Add required $contentType arguments (#1225) 2024-01-27 18:23:12 +11:00
tests Adding 'all' as an option for disabling auto instrumentations (#1220) 2024-01-24 23:00:22 +11:00
var/metrics Add PhpMetrics (#554) 2022-01-23 22:54:13 +01:00
.dockerignore interfaces improvements (#36) 2019-12-23 13:07:20 -05:00
.editorconfig Set indent size for all yaml files to 2 (#737) 2022-06-29 20:51:21 -04:00
.env.dist dotenv file plus rector (#983) 2023-05-02 19:53:04 +10:00
.gitattributes chore: .editorconfig, .gitattributes (#207) 2020-11-03 11:11:10 -05:00
.gitignore Add PhpMetrics (#554) 2022-01-23 22:54:13 +01:00
.gitsplit.yml Add Jaeger Propagator (#1188) 2023-12-16 10:12:26 +11:00
.php-cs-fixer.php Enforce snake_case for test method names (#535) 2022-01-04 22:08:42 +11:00
.phpcs.xml TracerFactory implementation (#38) 2020-01-07 08:39:14 -05:00
.scrutinizer.yml add scrutinizer config (#40) 2020-01-07 08:39:25 -05:00
CODEOWNERS Update CODEOWNERS to use the @open-telemetry/php-approvers (#814) 2022-09-07 22:42:09 +10:00
CONTRIBUTING.md Updating CONTRIBUTING.md (#1194) 2023-12-19 10:14:38 +11:00
DEVELOPMENT.md dotenv file plus rector (#983) 2023-05-02 19:53:04 +10:00
LICENSE Initial commit 2019-09-27 11:08:24 -07:00
Makefile remove proprietary new relic exporters (#998) 2023-05-09 20:20:50 +10:00
README.md document when we drop support for end of life PHP versions (#1222) 2024-01-31 07:57:34 -05:00
code-of-conduct.md Adding Code of Conduct (#123) 2020-06-06 11:24:02 -04:00
codecov.yml updating codecov.yml and README.md (#338) 2021-05-21 13:30:28 -04:00
composer.json Add Jaeger Propagator (#1188) 2023-12-16 10:12:26 +11:00
deptrac.baseline.yaml Prevent propagator packages from throwing fatal error if sdk not installed (#1198) 2023-12-25 10:31:33 +11:00
deptrac.yaml Prevent propagator packages from throwing fatal error if sdk not installed (#1198) 2023-12-25 10:31:33 +11:00
docker-compose.collector.yaml refactor otlp exporter (#838) 2022-11-02 08:31:48 -04:00
docker-compose.fiber-ffi.yaml Add FFI Fiber support preload example (#524) 2021-12-25 10:47:56 -05:00
docker-compose.prometheus.yaml Add FFI Fiber support preload example (#524) 2021-12-25 10:47:56 -05:00
docker-compose.w3cTraceContext.yaml Transition W3C Trace Context Test Service to Vanilla PHP (#695) 2022-06-24 06:25:52 -04:00
docker-compose.yaml dotenv file plus rector (#983) 2023-05-02 19:53:04 +10:00
phpbench.json.dist benchmark (#486) 2021-11-23 21:50:22 -05:00
phpmetrics.json removing jaeger exporters (#890) 2022-12-09 14:25:42 +11:00
phpstan.neon.dist fixing empty tracestate header handling (#936) 2023-03-16 18:45:15 +11:00
phpunit.xml.dist refactor environment configuration (#859) 2022-11-10 09:48:17 +11:00
psalm.xml.dist psalm check examples (#1006) 2023-05-31 08:13:35 +02:00
rector.php optional internal metrics (#1106) 2023-08-31 09:23:20 +10:00

README.md

OpenTelemetry for PHP

CI Build codecov Slack

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 Latest Stable Version Latest Unstable Version
SDK Latest Stable Version Latest Unstable Version
Context Latest Stable Version Latest Unstable Version
Semantic Conventions Latest Stable Version Latest Unstable Version
OTLP Exporter Latest Stable Version Latest Unstable Version
gRPC Transport Latest Stable Version Latest Unstable Version
OTLP Protobuf Files Latest Stable Version Latest Unstable Version
B3 Propagator Latest Stable Version Latest Unstable Version

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