# Stats Performance

Abyss Monitor allow you to publish stats performance (cpu, memory, disk usage) of your application to the dashboard.

{% code overflow="wrap" lineNumbers="true" %}

```typescript
AbyssMonitorCore.StatsPublisher.start({
      // First, provide one Abyss Monitor Logger
      logger: logger,
      // Optionally you can also provide a custom processId, by default it will take the running processing from process.pid
      processId: process.pid.toString(),
});
```

{% endcode %}

{% hint style="info" %}
The `StatsPublisher` allow multiple options, please check package to get the complete list.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://abyss-project.gitbook.io/abyss-monitor/setup/stats-performance.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
