> ## Documentation Index
> Fetch the complete documentation index at: https://botmesh.afaya.com.co/llms.txt
> Use this file to discover all available pages before exploring further.

# DurabilityMetrics

> Interface exported by @botmesh/core.

Defined in: [durability/engine.ts:47](https://github.com/andresayac/botmesh/blob/main/packages/core/src/durability/engine.ts#L47)

Counters behind `bot.durability.metrics()`.

## Properties

### inboundJournaled

```ts theme={null}
inboundJournaled: number;
```

Defined in: [durability/engine.ts:49](https://github.com/andresayac/botmesh/blob/main/packages/core/src/durability/engine.ts#L49)

Inbound events written to the inbox.

***

### inboundDuplicates

```ts theme={null}
inboundDuplicates: number;
```

Defined in: [durability/engine.ts:51](https://github.com/andresayac/botmesh/blob/main/packages/core/src/durability/engine.ts#L51)

Redeliveries the inbox recognised (already done / in flight).

***

### inboundReplayed

```ts theme={null}
inboundReplayed: number;
```

Defined in: [durability/engine.ts:53](https://github.com/andresayac/botmesh/blob/main/packages/core/src/durability/engine.ts#L53)

Journaled events processed again (restart recovery, background retry).

***

### inboundDead

```ts theme={null}
inboundDead: number;
```

Defined in: [durability/engine.ts:55](https://github.com/andresayac/botmesh/blob/main/packages/core/src/durability/engine.ts#L55)

Inbound events dead-lettered after `inbox.maxAttempts`.

***

### outboxJournaled

```ts theme={null}
outboxJournaled: number;
```

Defined in: [durability/engine.ts:57](https://github.com/andresayac/botmesh/blob/main/packages/core/src/durability/engine.ts#L57)

Sends written to the outbox.

***

### outboxDeduped

```ts theme={null}
outboxDeduped: number;
```

Defined in: [durability/engine.ts:59](https://github.com/andresayac/botmesh/blob/main/packages/core/src/durability/engine.ts#L59)

Sends answered from the outbox without calling the provider (already sent).

***

### outboxRetried

```ts theme={null}
outboxRetried: number;
```

Defined in: [durability/engine.ts:61](https://github.com/andresayac/botmesh/blob/main/packages/core/src/durability/engine.ts#L61)

Provider attempts beyond the first.

***

### outboxDeferred

```ts theme={null}
outboxDeferred: number;
```

Defined in: [durability/engine.ts:63](https://github.com/andresayac/botmesh/blob/main/packages/core/src/durability/engine.ts#L63)

Sends handed to the background sweeper (`SendDeferredError`).

***

### outboxDead

```ts theme={null}
outboxDead: number;
```

Defined in: [durability/engine.ts:65](https://github.com/andresayac/botmesh/blob/main/packages/core/src/durability/engine.ts#L65)

Sends dead-lettered.

***

### outboxAmbiguous

```ts theme={null}
outboxAmbiguous: number;
```

Defined in: [durability/engine.ts:67](https://github.com/andresayac/botmesh/blob/main/packages/core/src/durability/engine.ts#L67)

Sends whose outcome was unknown after a crash.

***

### outboxBypassed

```ts theme={null}
outboxBypassed: number;
```

Defined in: [durability/engine.ts:69](https://github.com/andresayac/botmesh/blob/main/packages/core/src/durability/engine.ts#L69)

Sends that bypassed the outbox (unencodable or larger than `maxPayloadBytes`).

***

### staleLeases

```ts theme={null}
staleLeases: number;
```

Defined in: [durability/engine.ts:71](https://github.com/andresayac/botmesh/blob/main/packages/core/src/durability/engine.ts#L71)

Completions rejected because their lease had been superseded.

***

### outboxDiverged

```ts theme={null}
outboxDiverged: number;
```

Defined in: [durability/engine.ts:73](https://github.com/andresayac/botmesh/blob/main/packages/core/src/durability/engine.ts#L73)

Replayed sends whose content differed from the one recorded under the same derived key.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.