summaryrefslogtreecommitdiff
path: root/vendor/open-telemetry/sdk/Trace/EventInterface.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/open-telemetry/sdk/Trace/EventInterface.php')
-rw-r--r--vendor/open-telemetry/sdk/Trace/EventInterface.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/vendor/open-telemetry/sdk/Trace/EventInterface.php b/vendor/open-telemetry/sdk/Trace/EventInterface.php
new file mode 100644
index 000000000..8b5ee2af6
--- /dev/null
+++ b/vendor/open-telemetry/sdk/Trace/EventInterface.php
@@ -0,0 +1,15 @@
+<?php
+
+declare(strict_types=1);
+
+namespace OpenTelemetry\SDK\Trace;
+
+use OpenTelemetry\SDK\Common\Attribute\AttributesInterface;
+
+interface EventInterface
+{
+ public function getName(): string;
+ public function getAttributes(): AttributesInterface;
+ public function getEpochNanos(): int;
+ public function getTotalAttributeCount(): int;
+}