Skip to content

Commit

Permalink
gitsplit contrib components (#804)
Browse files Browse the repository at this point in the history
* gitsplit exporters
* gitsplit swoole context
  • Loading branch information
brettmc authored Sep 6, 2022
1 parent ea83a0c commit 9c8ce2f
Show file tree
Hide file tree
Showing 24 changed files with 287 additions and 0 deletions.
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"
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",
"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.",
"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

0 comments on commit 9c8ce2f

Please sign in to comment.