Skip to content
This repository has been archived by the owner on Oct 3, 2023. It is now read-only.

Commit

Permalink
Extract exporters (#175)
Browse files Browse the repository at this point in the history
* Remove Stackdriver/Zipkin exporters. Update README

* Update links. Remove google/cloud-trace dev dep.

* Add suggestions for the other exporters

* Fix url to api docs

* Put the mock_error_log back

* guzzle 5 does not have psr7 as a dependency

* Fix GitHub org link for the exporters
  • Loading branch information
chingor13 authored Apr 25, 2018
1 parent de03d59 commit cd2b4d5
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 845 deletions.
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ The provided exporters are:
| [LoggerExporter][logger-exporter] | Exporter JSON encoded spans to a PSR-3 logger | |
| [NullExporter][null-exporter] | No-op | |
| [OneLineEchoExporter][one-line-echo-exporter] | Output the collected spans to stdout with one-line | |
| [StackdriverExporter][stackdriver-exporter] | Report traces to Google Cloud Stackdriver Trace | |
| [ZipkinExporter][zipkin-exporter] | Report collected spans to a Zipkin server | |
| [StackdriverExporter][stackdriver-exporter] | Report traces to Google Cloud Stackdriver Trace | [opencensus/opencensus-exporter-stackdriver][stackdriver-packagist] |
| [ZipkinExporter][zipkin-exporter] | Report collected spans to a Zipkin server | [opencensus/opencensus-exporter-zipkin][zipkin-packagist] |
If you would like to provide your own reporter, create a class that implements
`ExporterInterface`.
Expand Down Expand Up @@ -168,10 +168,12 @@ This is not an official Google product.
[echo-exporter]: https://opencensus.io/api/php/api/master/OpenCensus/Trace/Exporter/EchoExporter.html
[one-line-echo-exporter]: https://opencensus.io/api/php/api/master/OpenCensus/Trace/Exporter/OneLineEchoExporter.html
[file-exporter]: https://opencensus.io/api/php/api/master/OpenCensus/Trace/Exporter/FileExporter.html
[jaeger-exporter]: https://github.com/census-instrumentation/opencensus-php-exporter-jaeger/blob/master/src/JaegerExporter.php
[jaeger-exporter]: https://github.com/census-ecosystem/opencensus-php-exporter-jaeger
[jaeger-packagist]: https://packagist.org/packages/opencensus/opencensus-exporter-jaeger
[logger-exporter]: https://opencensus.io/api/php/api/master/OpenCensus/Trace/Exporter/LoggerExporter.html
[null-exporter]: https://opencensus.io/api/php/api/master/OpenCensus/Trace/Exporter/NullExporter.html
[stackdriver-exporter]: https://opencensus.io/api/php/api/master/OpenCensus/Trace/Exporter/StackdriverExporter.html
[zipkin-exporter]: https://opencensus.io/api/php/api/master/OpenCensus/Trace/Exporter/ZipkinExporter.html
[stackdriver-exporter]: https://github.com/census-ecosystem/opencensus-php-exporter-stackdriver
[stackdriver-packagist]: https://packagist.org/packages/opencensus/opencensus-exporter-stackdriver
[zipkin-exporter]: https://github.com/census-ecosystem/opencensus-php-exporter-zipkin
[zipkin-packagist]: https://packagist.org/packages/opencensus/opencensus-exporter-zipkin
[semver]: http://semver.org/
7 changes: 5 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,18 @@
"require-dev": {
"phpunit/phpunit": "^5.0",
"squizlabs/php_codesniffer": "2.*",
"google/cloud-trace": "^0.4",
"twig/twig": "~2.0 || ~1.35",
"symfony/yaml": "~3.3",
"guzzlehttp/guzzle": "~5.3"
"guzzlehttp/guzzle": "~5.3",
"guzzlehttp/psr7": "~1.4"
},
"conflict": {
"ext-opencensus": "< 0.1.0"
},
"suggest": {
"opencensus/opencensus-exporter-jaeger": "Export data to Jaeger",
"opencensus/opencensus-exporter-stackdriver": "Export data to Stackdriver",
"opencensus/opencensus-exporter-zipkin": "Export data to Zipkin",
"ext-opencensus": "Enable tracing arbitrary functions.",
"cache/apcu-adapter": "Enable QpsSampler to use apcu cache.",
"cache/apc-adapter": "Enable QpsSampler to use apc cache.",
Expand Down
231 changes: 0 additions & 231 deletions src/Trace/Exporter/StackdriverExporter.php

This file was deleted.

Loading

0 comments on commit cd2b4d5

Please sign in to comment.