> For the complete documentation index, see [llms.txt](https://learn.netmaker.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://learn.netmaker.io/features/telemetry-and-logging/metrics.md).

# Metrics

Netmaker Pro offers analytics. With Analytics, admin users can view connectivity, latency and data transferred between two peers or nodes on a Netmaker network. Client analytics are also available. All of this data may be visualised in the Netmaker UI. In addition, Netmaker includes a custom exporter for Prometheus/Grafana integration to view the data as well.

{% hint style="info" %}
Metrics are collected over the encrypted Netmaker tunnel. Each Netmaker agent exposes a metrics server on a TCP port (default: **51821**), enabling secure retrieval of telemetry data without requiring public network exposure.
{% endhint %}

Below are the steps to view Analytics on your Netmaker Pro instance.

{% stepper %}
{% step %}

### View network metrics in the Netmaker Dashboard

To view the metrics in the Netmaker Dashboard:

* Select a network.
* Click the Analytics interface.
* Switch to any metric you are interested in, including metrics from clients.

{% hint style="info" %}
Metrics may take up to 5 minutes for nodes to report data.
{% endhint %}

If present, an analytics image for the dashboard will appear here.

![](/files/b1wZ4X9kM4IMAVwhIfEe)
{% endstep %}

{% step %}

### Grafana Dashboard

If your Netmaker instance includes the Prometheus/Grafana setup and is configured with the METRICS\_EXPORTER="on", you can also view your metrics via Grafana.

Access details example:

```plaintext
URL: "https://grafana.<YOUR_DOMAIN_NAME>"
Username: "admin"
Password: "admin"
```

Out-of-the-box Netmaker Grafana options include:

* Netmaker Metrics Dashboard
* Netmaker Network Graph

![Netmaker Grafana Dashboards](/files/05d46d8c58af87d531300f174f1cd8ff08fb9b20)

The Netmaker Metrics Dashboard lets you select and view data on individual nodes.

![Netmaker Grafana View 1](/files/be177ca9914134b514eb3525a020b5d403693e4c)

The Netmaker Network Graph view shows a network graph where you can hover nodes to see node statistics and hover edges to view connection information. Edge colors vary by connection status (green = connected, red = disconnected).

![Netmaker Grafana View 2](/files/9527e04d85e4c4e7976f146ed9d49c1b0850b694)
{% endstep %}

{% step %}

### Prometheus Dashboard

You can also view your metrics on the Prometheus dashboard. On first visit you may be prompted for credentials.

Access details example:

```plaintext
URL: "https://prometheus.<YOUR_DOMAIN_NAME>"
Username: "Netmaker-Prometheus"
Password: "<YOUR_LICENSE_KEY>"
```

{% endstep %}
{% endstepper %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://learn.netmaker.io/features/telemetry-and-logging/metrics.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
