# Monitoring

Tarmac exposes several metrics to facilitate monitoring services. Metrics are available via the `/metrics` end-point in the Prometheus format.

These metrics include internal Tarmac system metrics such as the number of goroutines, memory utilization, and WASM function-specific metrics such as counters for Callbacks and WASM function execution time.

Some valuable metrics to monitor are in the below table.

| Metric Name       | Metric Type | Description                                                     |
| ----------------- | ----------- | --------------------------------------------------------------- |
| `http_server`     | Summary     | Summary of HTTP Server requests                                 |
| `scheduled_tasks` | Summary     | Summary of user defined scheduled task WASM function executions |
| `wasm_callbacks`  | Summary     | Summary of Tarmac callback function executions                  |
| `wasm_functions`  | Summary     | Summary of wasm function executions                             |

These metrics do not need to be enabled and are "on by default".


---

# 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://tarmac.gitbook.io/tarmac-framework/running-tarmac/metrics.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.
