Skip to content
Search
DSL · Telemetry

span_event

Definition

/**
 * Create a SpanEvent (GenericEvent) with an explicit timestamp.
 *
 * @param string $name Event name
 * @param \DateTimeImmutable $timestamp Event timestamp
 * @param array<string, array<array-key, mixed>|bool|\DateTimeInterface|float|int|string|\Throwable>|Attributes $attributes Event attributes
 */
span_event(string $name, DateTimeImmutable $timestamp, Attributes|array $attributes) : GenericEvent

Contributors

Built in the open.

Join us on GitHub
scroll back to top