interface Event {
    attributes?: Attributes;
    context?: Context;
    data?: AnyValue;
    name: string;
    severityNumber?: SeverityNumber;
    timestamp?: TimeInput;
}

Properties

attributes?: Attributes

Additional attributes that describe the event.

context?: Context

The Context associated with the Event.

data?: AnyValue

Data that describes the event. Intended to be used by instrumentation libraries.

name: string

The name of the event.

severityNumber?: SeverityNumber

Numerical value of the severity.

timestamp?: TimeInput

The time when the event occurred as UNIX Epoch time in nanoseconds.