summaryrefslogtreecommitdiff
path: root/vendor/open-telemetry/sdk/Trace/IdGeneratorInterface.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/open-telemetry/sdk/Trace/IdGeneratorInterface.php')
-rw-r--r--vendor/open-telemetry/sdk/Trace/IdGeneratorInterface.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/vendor/open-telemetry/sdk/Trace/IdGeneratorInterface.php b/vendor/open-telemetry/sdk/Trace/IdGeneratorInterface.php
new file mode 100644
index 000000000..ad622dccc
--- /dev/null
+++ b/vendor/open-telemetry/sdk/Trace/IdGeneratorInterface.php
@@ -0,0 +1,12 @@
+<?php
+
+declare(strict_types=1);
+
+namespace OpenTelemetry\SDK\Trace;
+
+interface IdGeneratorInterface
+{
+ public function generateTraceId(): string;
+
+ public function generateSpanId(): string;
+}