---
title: "Get metrics"
sidebar_label: "Get metrics"
description: "How to get metrics"
sidebar_position: 1
---

import Formbricks from '@theme/MDXComponents/Formbricks'
import Tabs from '@theme/Tabs'
import TabItem from '@theme/TabItem'
import {TabItemLabel} from '@selectel/docux/components'
import SettingIcon from '@selectel/docux/icons/settings'

# Get metrics

You can get metrics to your infrastructure using an agent:

* [Prometheus](/metrics/tools/prometheus.mdx);
* [VMAgent](/metrics/tools/vmagent.mdx);
* or [Telegraf](/metrics/tools/telegraf.mdx).

Agents must be configured in advance. Learn more in the [Configure Prometheus](/metrics/tools/prometheus.mdx#configure-prometheus), [Configure VMAgent](/metrics/tools/vmagent.mdx#configure-vmagent) and [Configure Telegraf](/metrics/tools/telegraf.mdx#configure-telegraf) subsections.

To configure metric collection for [dedicated servers](/dedicated/), use the cloud server pool URL that corresponds to the pool where your dedicated server is located. You can find the list of URLs in the [Metrics](/api/urls/#metrics) section of the [URL List](/api/urls/) guide.

Read more about collected product metrics in the [Metrics Reference](/metrics/metrics-references.mdx) guide.

## View metrics \{#view-metrics}

<Tabs queryString="get-metrics">
  <TabItem value="panel">
    <TabItemLabel>
      Control panel
    </TabItemLabel>

    You can view metric charts in the control panel:

    * for a [dedicated server](/dedicated/manage/ipmi-monitoring.mdx#view-metrics);
    * [cloud server](/cloud-servers/manage/view-metrics.mdx) (contains disk and private network metrics);
    * [cloud server disk](/cloud-servers/volumes/view-metrics.mdx);
    * [cloud private network](/cloud-servers/cloud-networks/private-networks-and-subnets.mdx#view-private-network-metrics).
  </TabItem>

  <TabItem value="grafana">
    <TabItemLabel>
      Grafana
    </TabItemLabel>

    1. [Configure Grafana](/metrics/tools/).

    2. Open the metrics dashboard you created during configuration.
  </TabItem>
</Tabs>

<Formbricks />
