![]() Unzip the tarball and cd into the directory: tar xvfz node_exporter-*.* This guide may become stale so it’s best to check the Node Exporter Releases page for the latest stable version. Replace 1.1.1 with the version you’d like to install. In this guide we’ll use linux-amd64 but you should choose the one corresponding to your system’s OS and architecture: wget To begin, log in to your machine and download the relevant Node Exporter binary. In this step you’ll set up Node Exporter on your Linux machine to collect and expose system metrics. To learn more about Grafana Cloud, please see Grafana Cloud. You will still need to scrape metrics, using either Prometheus installed in your environment, or the Grafana Agent. Grafana Cloud hosts Grafana and a Cortex-based Prometheus metrics endpoint. To learn how to install Grafana, please see Install Grafana from the Grafana docs. Grafana running in your environment or directly on the Linux machine.To learn how to install Prometheus, please see Installation from the Prometheus docs. Prometheus running in your environment or directly on the Linux machine.To see a list of available releases, please see Releases. A Linux machine compatible with a Node Exporter release.Prerequisitesīefore you get started, you should have the following available to you: To learn how to set up Node Exporter using the Linux Server Integration, please see Monitoring a Linux host using the Linux host integration from the Grafana Cloud docs. The Linux Integration embeds Node Exporter into the Grafana Agent and automatically provisions alerting rules and dashboards, so you don’t have to run through the steps in this guide. If you’re using Grafana Cloud, the Linux Server Integration can help you get up and running quickly. At the end of this guide you’ll have dashboards that you can use to visualize your Linux system metrics, and set of preconfigured alerts. Finally, you’ll set up a preconfigured and curated set of recording rules, Grafana dashboards, and alerting rules. You’ll then configure Prometheus to scrape Node Exporter metrics and optionally ship them to Grafana Cloud. In this guide you’ll learn how to set up and configure Node Exporter to collect Linux system metrics like CPU load and disk I/O and expose them as Prometheus-style metrics. If you’re using Grafana Cloud, you can skip all of the steps in this guide by installing the Linux Server Integration, which is designed to help you get up and running in a few commands and clicks. To learn how to do this, please see Reducing Prometheus metrics usage with relabeling from the Grafana Cloud docs. To learn more about configuring Node Exporter and toggling its collectors, please see the Node Exporter GitHub repository.īeyond toggling Node Exporter’s settings, you can reduce metrics usage by dropping time series you don’t need to store in Prometheus or Grafana Cloud. Note that depending on its configuration, Node Exporter may collect and publish far more metrics than this default set. ![]() To see a list of metrics shipped by default with this exporter, please download a sample metrics scrape here. This exporter publishes roughly 500 Prometheus time series by default. Set up Prometheus alerting rules to alert on your metrics data. Imported Grafana dashboards to visualize your metrics data. Set up a preconfigured and curated set of recording rules to cache frequent queries. Node Exporter will expose these as Prometheus-style metrics.Ĭonfigured Prometheus to scrape Node Exporter metrics and optionally ship them to Grafana Cloud. Set up and configured Node Exporter to collect Linux system metrics like CPU load and disk I/O. After running through the steps in this quickstart, you will have: The following quickstart provides setup instructions and preconfigured dashboards, alerting rules, and recording rules for Node Exporter.
0 Comments
Leave a Reply. |