Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gitsplit contrib components #804

Merged
merged 9 commits into from
Sep 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .gitsplit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
brettmc marked this conversation as resolved.
Show resolved Hide resolved
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"

Expand Down
1 change: 1 addition & 0 deletions proto/otel/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# OpenTelemetry protobuf files
1 change: 1 addition & 0 deletions src/API/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# OpenTelemetry API
1 change: 1 addition & 0 deletions src/Context/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# OpenTelemetry Context
1 change: 1 addition & 0 deletions src/Contrib/Context/Swoole/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# OpenTelemetry Swoole context
22 changes: 22 additions & 0 deletions src/Contrib/Context/Swoole/composer.json
Original file line number Diff line number Diff line change
@@ -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\\": "."
}
}
}
11 changes: 11 additions & 0 deletions src/Contrib/Jaeger/README.md
Original file line number Diff line number Diff line change
@@ -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
31 changes: 31 additions & 0 deletions src/Contrib/Jaeger/composer.json
Original file line number Diff line number Diff line change
@@ -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",
brettmc marked this conversation as resolved.
Show resolved Hide resolved
"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"
}
}
7 changes: 7 additions & 0 deletions src/Contrib/Newrelic/README.md
Original file line number Diff line number Diff line change
@@ -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
25 changes: 25 additions & 0 deletions src/Contrib/Newrelic/composer.json
Original file line number Diff line number Diff line change
@@ -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\\": "."
}
}
}
3 changes: 3 additions & 0 deletions src/Contrib/Otlp/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# OpenTelemetry OTLP common exporter

Common funtionality used by both OTLP GRPC and HTTP exporters.
24 changes: 24 additions & 0 deletions src/Contrib/Otlp/composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"name": "open-telemetry/exporter-otlp-common",
"description": "OTLP common code for OpenTelemetry exporters.",
brettmc marked this conversation as resolved.
Show resolved Hide resolved
"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\\": "."
}
}
}
7 changes: 7 additions & 0 deletions src/Contrib/OtlpGrpc/README.md
Original file line number Diff line number Diff line change
@@ -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
29 changes: 29 additions & 0 deletions src/Contrib/OtlpGrpc/composer.json
Original file line number Diff line number Diff line change
@@ -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"
}
}
7 changes: 7 additions & 0 deletions src/Contrib/OtlpHttp/README.md
Original file line number Diff line number Diff line change
@@ -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
32 changes: 32 additions & 0 deletions src/Contrib/OtlpHttp/composer.json
Original file line number Diff line number Diff line change
@@ -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"
}
}
1 change: 1 addition & 0 deletions src/Contrib/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# OpenTelemetry contrib
7 changes: 7 additions & 0 deletions src/Contrib/Zipkin/README.md
Original file line number Diff line number Diff line change
@@ -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
26 changes: 26 additions & 0 deletions src/Contrib/Zipkin/composer.json
Original file line number Diff line number Diff line change
@@ -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\\": "."
}
}
}
7 changes: 7 additions & 0 deletions src/Contrib/ZipkinToNewrelic/README.md
Original file line number Diff line number Diff line change
@@ -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
25 changes: 25 additions & 0 deletions src/Contrib/ZipkinToNewrelic/composer.json
Original file line number Diff line number Diff line change
@@ -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\\": "."
}
}
}
1 change: 1 addition & 0 deletions src/SDK/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# OpenTelemetry SDK
1 change: 1 addition & 0 deletions src/SemConv/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# OpenTelemetry Semantic Conventions
1 change: 1 addition & 0 deletions thrift/jaeger/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# OpenTelemetry Jaeger Thrift files