# NullMetricsStore class

> The NullMetricsStore class of Novior.MentorAgent.Core: Default IMentorMetricsStore — does nothing. Metrics live only in RAM and reset when the process…

- URL: https://docs.mentoragent.net/api/novior-mentoragent-core/nullmetricsstore
- Verified with: MentorAgent 1.2.0
- Last updated: 2026-10-27
- Packages: Novior.MentorAgent

Default [`IMentorMetricsStore`](https://docs.mentoragent.net/api/novior-mentoragent-abstractions-interfaces/imentormetricsstore) — does nothing. Metrics live only in RAM and reset when the process restarts (the historical behaviour). Registered via `TryAddSingleton`, so a custom store registered before `AddMentorAgent()` replaces it. All members use the interface's no-op defaults.

## Definition

Namespace: `Novior.MentorAgent.Core`. Package: `Novior.MentorAgent`.

`public sealed class NullMetricsStore : IMentorMetricsStore`

Implements [`IMentorMetricsStore`](https://docs.mentoragent.net/api/novior-mentoragent-abstractions-interfaces/imentormetricsstore).

```shell
dotnet add package Novior.MentorAgent
```

## Constructors

`public NullMetricsStore()`

---

- Previous: [MentorTokenUsage class](https://docs.mentoragent.net/api/novior-mentoragent-core/mentortokenusage.md)
- Next: [ProviderErrorClassifier class](https://docs.mentoragent.net/api/novior-mentoragent-core/providererrorclassifier.md)
