diff --git a/.gitsplit.yml b/.gitsplit.yml index 54f804714..1fec1a265 100644 --- a/.gitsplit.yml +++ b/.gitsplit.yml @@ -20,6 +20,22 @@ splits: target: "https://${GH_TOKEN}@github.com/opentelemetry-php/sdk.git" - prefix: "src/Contrib" target: "https://${GH_TOKEN}@github.com/opentelemetry-php/sdk-contrib.git" + - prefix: "src/Contrib/Jaeger" + target: "https://${GH_TOKEN}@github.com/opentelemetry-php/exporter-jaeger.git" + - prefix: "src/Contrib/Newrelic" + target: "https://${GH_TOKEN}@github.com/opentelemetry-php/exporter-newrelic.git" + - prefix: "src/Contrib/Otlp" + target: "https://${GH_TOKEN}@github.com/opentelemetry-php/exporter-otlp-common.git" + - prefix: "src/Contrib/OtlpGrpc" + target: "https://${GH_TOKEN}@github.com/opentelemetry-php/exporter-otlp-grpc.git" + - prefix: "src/Contrib/OtlpHttp" + target: "https://${GH_TOKEN}@github.com/opentelemetry-php/exporter-otlp-http.git" + - prefix: "src/Contrib/Zipkin" + target: "https://${GH_TOKEN}@github.com/opentelemetry-php/exporter-zipkin.git" + - prefix: "src/Contrib/ZipkinToNewrelic" + target: "https://${GH_TOKEN}@github.com/opentelemetry-php/exporter-zipkintonewrelic.git" + - prefix: "src/Contrib/Context/Swoole" + target: "https://${GH_TOKEN}@github.com/opentelemetry-php/context-swoole.git" - prefix: "src/Extension/Propagator/B3" target: "https://${GH_TOKEN}@github.com/opentelemetry-php/extension-propagator-b3.git" diff --git a/proto/otel/README.md b/proto/otel/README.md new file mode 100644 index 000000000..c1317356d --- /dev/null +++ b/proto/otel/README.md @@ -0,0 +1 @@ +# OpenTelemetry protobuf files diff --git a/src/API/README.md b/src/API/README.md new file mode 100644 index 000000000..1eaec504d --- /dev/null +++ b/src/API/README.md @@ -0,0 +1 @@ +# OpenTelemetry API diff --git a/src/Context/README.md b/src/Context/README.md new file mode 100644 index 000000000..05074a542 --- /dev/null +++ b/src/Context/README.md @@ -0,0 +1 @@ +# OpenTelemetry Context diff --git a/src/Contrib/Context/Swoole/README.md b/src/Contrib/Context/Swoole/README.md new file mode 100644 index 000000000..5be9b6bb5 --- /dev/null +++ b/src/Contrib/Context/Swoole/README.md @@ -0,0 +1 @@ +# OpenTelemetry Swoole context diff --git a/src/Contrib/Context/Swoole/composer.json b/src/Contrib/Context/Swoole/composer.json new file mode 100644 index 000000000..7364ae70a --- /dev/null +++ b/src/Contrib/Context/Swoole/composer.json @@ -0,0 +1,22 @@ +{ + "name": "open-telemetry/context-swoole", + "description": "Async Swoole/OpenSwoole context implementation for OpenTelemetry PHP.", + "keywords": ["opentelemetry", "otel", "contrib", "context", "swoole", "openswoole", "coroutine"], + "type": "library", + "license": "Apache-2.0", + "authors": [ + { + "name": "opentelemetry-php contributors", + "homepage": "https://github.com/open-telemetry/opentelemetry-php/graphs/contributors" + } + ], + "require": { + "php": "^7.4 || ^8.0", + "open-telemetry/context": "self.version" + }, + "autoload": { + "psr-4": { + "OpenTelemetry\\Contrib\\Context\\Swoole\\": "." + } + } +} diff --git a/src/Contrib/Jaeger/README.md b/src/Contrib/Jaeger/README.md new file mode 100644 index 000000000..9de46a902 --- /dev/null +++ b/src/Contrib/Jaeger/README.md @@ -0,0 +1,11 @@ +# OpenTelemetry Jaeger Exporter + +A Jaeger exporter for OpenTelemetry. + +## Usage + +### HTTP (Zipkin) +https://github.com/open-telemetry/opentelemetry-php/blob/main/examples/traces/features/exporters/jaeger.php + +### Thrift +https://github.com/open-telemetry/opentelemetry-php/blob/main/examples/traces/features/exporters/jaeger_thrift.php \ No newline at end of file diff --git a/src/Contrib/Jaeger/composer.json b/src/Contrib/Jaeger/composer.json new file mode 100644 index 000000000..5751e8e15 --- /dev/null +++ b/src/Contrib/Jaeger/composer.json @@ -0,0 +1,31 @@ +{ + "name": "open-telemetry/exporter-jaeger", + "description": "jaeger exporter for OpenTelemetry PHP.", + "keywords": ["opentelemetry", "otel", "tracing", "exporter", "contrib", "jaeger"], + "type": "library", + "license": "Apache-2.0", + "authors": [ + { + "name": "opentelemetry-php contributors", + "homepage": "https://github.com/open-telemetry/opentelemetry-php/graphs/contributors" + } + ], + "require": { + "php": "^7.4 || ^8.0", + "open-telemetry/api": "self.version", + "open-telemetry/gen-jaeger-thrift": "self.version", + "open-telemetry/exporter-zipkin": "self.version", + "open-telemetry/sdk": "self.version", + "php-http/async-client-implementation": "^1.0", + "php-http/discovery": "^1.14", + "psr/http-factory-implementation": "^1.0" + }, + "autoload": { + "psr-4": { + "OpenTelemetry\\Contrib\\Jaeger\\": "." + } + }, + "suggest": { + "ext-sockets": "To use the Thrift UDP Exporter" + } +} diff --git a/src/Contrib/Newrelic/README.md b/src/Contrib/Newrelic/README.md new file mode 100644 index 000000000..3d9c05b63 --- /dev/null +++ b/src/Contrib/Newrelic/README.md @@ -0,0 +1,7 @@ +# OpenTelemetry New Relic Exporter + +A New Relic exporter for OpenTelemetry. + +## Usage + +See https://github.com/open-telemetry/opentelemetry-php/blob/main/examples/traces/features/exporters/newrelic.php diff --git a/src/Contrib/Newrelic/composer.json b/src/Contrib/Newrelic/composer.json new file mode 100644 index 000000000..58cd6c85e --- /dev/null +++ b/src/Contrib/Newrelic/composer.json @@ -0,0 +1,25 @@ +{ + "name": "open-telemetry/exporter-newrelic", + "description": "New Relic exporter for OpenTelemetry PHP.", + "keywords": ["opentelemetry", "otel", "tracing", "exporter", "newrelic"], + "type": "library", + "license": "Apache-2.0", + "authors": [ + { + "name": "opentelemetry-php contributors", + "homepage": "https://github.com/open-telemetry/opentelemetry-php/graphs/contributors" + } + ], + "require": { + "php": "^7.4 || ^8.0", + "open-telemetry/sdk": "self.version", + "php-http/async-client-implementation": "^1.0", + "php-http/discovery": "^1.14", + "psr/http-factory-implementation": "^1.0" + }, + "autoload": { + "psr-4": { + "OpenTelemetry\\Contrib\\Newrelic\\": "." + } + } +} diff --git a/src/Contrib/Otlp/README.md b/src/Contrib/Otlp/README.md new file mode 100644 index 000000000..a012e8ec1 --- /dev/null +++ b/src/Contrib/Otlp/README.md @@ -0,0 +1,3 @@ +# OpenTelemetry OTLP common exporter + +Common funtionality used by both OTLP GRPC and HTTP exporters. diff --git a/src/Contrib/Otlp/composer.json b/src/Contrib/Otlp/composer.json new file mode 100644 index 000000000..7ce2735b9 --- /dev/null +++ b/src/Contrib/Otlp/composer.json @@ -0,0 +1,24 @@ +{ + "name": "open-telemetry/exporter-otlp-common", + "description": "OTLP common code for OpenTelemetry exporters.", + "keywords": ["opentelemetry", "otel", "tracing", "metrics", "exporter", "otlp", "grpc"], + "type": "library", + "license": "Apache-2.0", + "authors": [ + { + "name": "opentelemetry-php contributors", + "homepage": "https://github.com/open-telemetry/opentelemetry-php/graphs/contributors" + } + ], + "require": { + "php": "^7.4 || ^8.0", + "open-telemetry/gen-otlp-protobuf": "self.version", + "open-telemetry/api": "self.version", + "open-telemetry/sdk": "self.version" + }, + "autoload": { + "psr-4": { + "OpenTelemetry\\Contrib\\Otlp\\": "." + } + } +} diff --git a/src/Contrib/OtlpGrpc/README.md b/src/Contrib/OtlpGrpc/README.md new file mode 100644 index 000000000..b37cf10e3 --- /dev/null +++ b/src/Contrib/OtlpGrpc/README.md @@ -0,0 +1,7 @@ +# OpenTelemetry GRPC Exporter + +OTLP GRPC exporter for OpenTelemetry. + +## Usage + +See https://github.com/open-telemetry/opentelemetry-php/blob/main/examples/traces/features/exporters/otlp_grpc.php diff --git a/src/Contrib/OtlpGrpc/composer.json b/src/Contrib/OtlpGrpc/composer.json new file mode 100644 index 000000000..dc019a111 --- /dev/null +++ b/src/Contrib/OtlpGrpc/composer.json @@ -0,0 +1,29 @@ +{ + "name": "open-telemetry/exporter-otlp-grpc", + "description": "GRPC exporter for OpenTelemetry PHP.", + "keywords": ["opentelemetry", "otel", "tracing", "apm", "otlp", "grpc", "protobuf"], + "type": "library", + "license": "Apache-2.0", + "authors": [ + { + "name": "opentelemetry-php contributors", + "homepage": "https://github.com/open-telemetry/opentelemetry-php/graphs/contributors" + } + ], + "require": { + "php": "^7.4 || ^8.0", + "ext-grpc": "*", + "google/protobuf": "^3.3.0", + "open-telemetry/exporter-otlp-common": "self.version", + "open-telemetry/gen-otlp-protobuf": "self.version", + "open-telemetry/sdk": "self.version" + }, + "autoload": { + "psr-4": { + "OpenTelemetry\\Contrib\\OtlpGrpc\\": "." + } + }, + "suggest": { + "ext-protobuf": "For more performant grpc exporting" + } +} diff --git a/src/Contrib/OtlpHttp/README.md b/src/Contrib/OtlpHttp/README.md new file mode 100644 index 000000000..e85029ebc --- /dev/null +++ b/src/Contrib/OtlpHttp/README.md @@ -0,0 +1,7 @@ +# OpenTelemetry HTTP Exporter + +OTLP HTTP exporter for OpenTelemetry. + +## Usage + +See https://github.com/open-telemetry/opentelemetry-php/blob/main/examples/traces/features/exporters/otlp.php diff --git a/src/Contrib/OtlpHttp/composer.json b/src/Contrib/OtlpHttp/composer.json new file mode 100644 index 000000000..a1a6f8039 --- /dev/null +++ b/src/Contrib/OtlpHttp/composer.json @@ -0,0 +1,32 @@ +{ + "name": "open-telemetry/exporter-otlp-http", + "description": "HTTP/protobuf exporter for OpenTelemetry PHP.", + "keywords": ["opentelemetry", "otel", "tracing", "metrics", "otlp", "protobuf", "http"], + "type": "library", + "license": "Apache-2.0", + "authors": [ + { + "name": "opentelemetry-php contributors", + "homepage": "https://github.com/open-telemetry/opentelemetry-php/graphs/contributors" + } + ], + "require": { + "php": "^7.4 || ^8.0", + "google/protobuf": "^3.3.0", + "open-telemetry/api": "self.version", + "open-telemetry/exporter-otlp-common": "self.version", + "open-telemetry/gen-otlp-protobuf": "self.version", + "open-telemetry/sdk": "self.version", + "php-http/async-client-implementation": "^1.0", + "php-http/discovery": "^1.14", + "psr/http-factory-implementation": "^1.0" + }, + "autoload": { + "psr-4": { + "OpenTelemetry\\Contrib\\OtlpHttp\\": "." + } + }, + "suggest": { + "ext-protobuf": "For more performant protobuf exporting" + } +} diff --git a/src/Contrib/README.md b/src/Contrib/README.md new file mode 100644 index 000000000..8335cba4a --- /dev/null +++ b/src/Contrib/README.md @@ -0,0 +1 @@ +# OpenTelemetry contrib diff --git a/src/Contrib/Zipkin/README.md b/src/Contrib/Zipkin/README.md new file mode 100644 index 000000000..739e43463 --- /dev/null +++ b/src/Contrib/Zipkin/README.md @@ -0,0 +1,7 @@ +# OpenTelemetry Zipkin Exporter + +Zipkin exporter for OpenTelemetry. + +## Usage + +See https://github.com/open-telemetry/opentelemetry-php/blob/main/examples/traces/features/exporters/zipkin.php diff --git a/src/Contrib/Zipkin/composer.json b/src/Contrib/Zipkin/composer.json new file mode 100644 index 000000000..5e48f7c76 --- /dev/null +++ b/src/Contrib/Zipkin/composer.json @@ -0,0 +1,26 @@ +{ + "name": "open-telemetry/exporter-zipkin", + "description": "Zipkin exporter for OpenTelemetry PHP.", + "keywords": ["opentelemetry", "otel", "tracing", "contrib", "exporter", "zipkin"], + "type": "library", + "license": "Apache-2.0", + "authors": [ + { + "name": "opentelemetry-php contributors", + "homepage": "https://github.com/open-telemetry/opentelemetry-php/graphs/contributors" + } + ], + "require": { + "php": "^7.4 || ^8.0", + "open-telemetry/api": "self.version", + "open-telemetry/sdk": "self.version", + "php-http/async-client-implementation": "^1.0", + "php-http/discovery": "^1.14", + "psr/http-factory-implementation": "^1.0" + }, + "autoload": { + "psr-4": { + "OpenTelemetry\\Contrib\\Zipkin\\": "." + } + } +} diff --git a/src/Contrib/ZipkinToNewrelic/README.md b/src/Contrib/ZipkinToNewrelic/README.md new file mode 100644 index 000000000..17f1b12d3 --- /dev/null +++ b/src/Contrib/ZipkinToNewrelic/README.md @@ -0,0 +1,7 @@ +# OpenTelemetry Zipkin to New Relic Exporter + +_Experimental_ New Relic exporter for OpenTelemetry, which uses the Zipkin protocol. + +## Usage + +See https://github.com/open-telemetry/opentelemetry-php/blob/main/examples/traces/features/exporters/zipkin_to_newrelic.php diff --git a/src/Contrib/ZipkinToNewrelic/composer.json b/src/Contrib/ZipkinToNewrelic/composer.json new file mode 100644 index 000000000..c736e5f2b --- /dev/null +++ b/src/Contrib/ZipkinToNewrelic/composer.json @@ -0,0 +1,25 @@ +{ + "name": "open-telemetry/exporter-zipkintonewrelic", + "description": "Zipkin to New Relic exporter for OpenTelemetry PHP.", + "keywords": ["opentelemetry", "otel", "tracing", "zipkin", "newrelic", "exporter", "contrib"], + "type": "library", + "license": "Apache-2.0", + "authors": [ + { + "name": "opentelemetry-php contributors", + "homepage": "https://github.com/open-telemetry/opentelemetry-php/graphs/contributors" + } + ], + "require": { + "php": "^7.4 || ^8.0", + "open-telemetry/sdk": "self.version", + "php-http/async-client-implementation": "^1.0", + "php-http/discovery": "^1.14", + "psr/http-factory-implementation": "^1.0" + }, + "autoload": { + "psr-4": { + "OpenTelemetry\\Contrib\\ZipkinToNewrelic\\": "." + } + } +} diff --git a/src/SDK/README.md b/src/SDK/README.md new file mode 100644 index 000000000..659dcf79f --- /dev/null +++ b/src/SDK/README.md @@ -0,0 +1 @@ +# OpenTelemetry SDK \ No newline at end of file diff --git a/src/SemConv/README.md b/src/SemConv/README.md new file mode 100644 index 000000000..c3de7a4b4 --- /dev/null +++ b/src/SemConv/README.md @@ -0,0 +1 @@ +# OpenTelemetry Semantic Conventions diff --git a/thrift/jaeger/README.md b/thrift/jaeger/README.md new file mode 100644 index 000000000..1154f6a24 --- /dev/null +++ b/thrift/jaeger/README.md @@ -0,0 +1 @@ +# OpenTelemetry Jaeger Thrift files \ No newline at end of file