diff options
author | Andrew Dolgov <[email protected]> | 2023-04-09 20:50:33 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2023-04-09 20:50:33 +0300 |
commit | 8f3646a9c93a06f76f6abb31020fdb74b4b1fc59 (patch) | |
tree | 4e6c9f39e0623ef70bedfee014f1bd20603f89ad /vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Reporter/ReporterInterface.php | |
parent | a37eab2610a0a2bcb655258781c1c7e925dc94c0 (diff) |
exp: jaeger tracing
Diffstat (limited to 'vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Reporter/ReporterInterface.php')
-rw-r--r-- | vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Reporter/ReporterInterface.php | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Reporter/ReporterInterface.php b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Reporter/ReporterInterface.php new file mode 100644 index 000000000..fea8a8713 --- /dev/null +++ b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/Reporter/ReporterInterface.php @@ -0,0 +1,28 @@ +<?php + +namespace Jaeger\Reporter; + +use Jaeger\Span; + +/** + * Uses to report finished span to something that collects those spans. + * + * @package Jaeger\Reporter + */ +interface ReporterInterface +{ + /** + * Report finished span. + * + * @param Span $span + * @return void + */ + public function reportSpan(Span $span); + + /** + * Release any resources used by the reporter and flushes/sends the data. + * + * @return void + */ + public function close(); +} |