Skip to content

Commit e4b36e1

Browse files
Add IBM Instana Exporter (open-telemetry#378)
* Initial commit to add Instana exporter * Fixed phan * Updated Readme and composer.json * Ignoring PhanUndeclaredClassAttribute error for overriden functions * Ignoring PhanUndeclaredClassAttribute error for overriden functions * Fixing service_name testcase * Addressed review comments * Updated readme * Fixed phan error * Addressed review comments around formatting * Added suggestions in README
1 parent ad2229d commit e4b36e1

21 files changed

+1869
-0
lines changed

.github/workflows/php.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ jobs:
2222
project: [
2323
'Aws',
2424
'Context/Swoole',
25+
'Exporter/Instana',
2526
'Instrumentation/AwsSdk',
2627
'Instrumentation/CakePHP',
2728
'Instrumentation/CodeIgniter',

.gitsplit.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ splits:
1010
target: "https://${GH_TOKEN}@github.com/opentelemetry-php/opentelemetry-meta.git"
1111
- prefix: "src/Aws"
1212
target: "https://${GH_TOKEN}@github.com/opentelemetry-php/contrib-aws.git"
13+
- prefix: "src/Exporter/Instana"
14+
target: "https://${GH_TOKEN}@github.com/opentelemetry-php/contrib-exporter-instana.git"
1315
- prefix: "src/Symfony"
1416
target: "https://${GH_TOKEN}@github.com/opentelemetry-php/contrib-sdk-bundle.git"
1517
- prefix: "src/Instrumentation/CodeIgniter"

composer.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
"psr-4": {
1818
"OpenTelemetry\\Contrib\\Aws\\": "src/Aws/src",
1919
"OpenTelemetry\\Contrib\\Context\\Swoole\\": "src/Context/Swoole/src",
20+
"OpenTelemetry\\Contrib\\Exporter\\Instana\\": "src/Exporter/Instana/src",
2021
"OpenTelemetry\\Contrib\\Instrumentation\\CakePHP\\": "src/Instrumentation/CakePHP/src",
2122
"OpenTelemetry\\Contrib\\Instrumentation\\CodeIgniter\\": "src/Instrumentation/CodeIgniter/src",
2223
"OpenTelemetry\\Contrib\\Instrumentation\\Curl\\": "src/Instrumentation/Curl/src",
@@ -93,6 +94,7 @@
9394
"open-telemetry/opentelemetry-auto-codeigniter": "self.version",
9495
"open-telemetry/opentelemetry-auto-curl": "self.version",
9596
"open-telemetry/opentelemetry-auto-ext-amqp": "self.version",
97+
"open-telemetry/opentelemetry-exporter-instana": "self.version",
9698
"open-telemetry/opentelemetry-auto-ext-rdkafka": "self.version",
9799
"open-telemetry/opentelemetry-auto-guzzle": "self.version",
98100
"open-telemetry/opentelemetry-auto-http-async": "self.version",
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
* text=auto
2+
3+
*.md diff=markdown
4+
*.php diff=php
5+
6+
/.gitattributes export-ignore
7+
/.gitignore export-ignore
8+
/.php-cs-fixer.php export-ignore
9+
/phpstan.neon.dist export-ignore
10+
/phpunit.xml.dist export-ignore
11+
/psalm.xml.dist export-ignore
12+
/tests export-ignore
13+
/.phan/ export-ignore

src/Exporter/Instana/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/vendor/

0 commit comments

Comments
 (0)