# ObservationEventKind

`import { ObservationEventKind } from "destack:runtime";`

Observation event class.

```ds title="ObservationEventKind"
export enum ObservationEventKind {
    Trace = 1,
    Entity = 2,
    Resource = 3,
    Scheduler = 4,
    Diagnostic = 5,
    Profile = 6,
}
```

[language/library/src/runtime/observation.ds:12:25](https://github.com/destack-sh/destack/blob/main/language/library/src/runtime/observation.ds#L12-L25)

## Variants

### `Trace = 1`

Trace-adjacent event.

### `Entity = 2`

Entity graph change event.

### `Resource = 3`

Resource lifecycle event.

### `Scheduler = 4`

Scheduler or execution event.

### `Diagnostic = 5`

Diagnostic or policy event.

### `Profile = 6`

Profiler event.
