Guides - Deploying Prometheus through the Linode Marketplace

Quickly deploy a Compute Instance with many various software applications pre-installed and ready to use.

Create a Linode account to try this guide with a $ credit.
This credit will be applied to any valid services used during your first  days.

Use Prometheus to collect metrics and receive alerts with this open-source monitoring tool. Prometheus monitors targets that you define at given intervals by scraping their metrics HTTP endpoints. This tool is particularly well-suited for numeric time series data, which makes it ideal for machine-centric monitoring as well as monitoring of highly dynamic service-oriented architectures.

Note
Prometheus is often used alongside Grafana for reporting and detailed visualizations. Consider using the combined Prometheus and Grafana Marketplace App if you intend on using both of these applications together.

Deploying a Marketplace App

The Linode Marketplace allows you to easily deploy software on a Compute Instance using the Cloud Manager. See Get Started with Marketplace Apps for complete steps.

  1. Log in to the Cloud Manager and select the Marketplace link from the left navigation menu. This displays the Linode Create page with the Marketplace tab pre-selected.

  2. Under the Select App section, select the app you would like to deploy.

  3. Complete the form by following the steps and advice within the Creating a Compute Instance guide. Depending on the Marketplace App you selected, there may be additional configuration options available. See the Configuration Options section below for compatible distributions, recommended plans, and any additional configuration options available for this Marketplace App.

  4. Click the Create Linode button. Once the Compute Instance has been provisioned and has fully powered on, wait for the software installation to complete. If the instance is powered off or restarted before this time, the software installation will likely fail.

To verify that the app has been fully installed, see Get Started with Marketplace Apps > Verify Installation. Once installed, follow the instructions within the Getting Started After Deployment section to access the application and start using it.

Note
Estimated deployment time: Prometheus should be fully installed within 2-5 minutes after the Compute Instance has finished provisioning.

Configuration Options

  • Supported distributions: Debian 10
  • Recommended minimum plan: 4GB Dedicated CPU or Shared Compute Instance

Getting Started after Deployment

Access Your Prometheus Instance

Now that your Prometheus Marketplace App is deployed, you can log into Prometheus to access its expression browser, alerts, status, and more.

  1. Open a browser and navigate to http://192.0.2.0:9090/. Replace 192.0.2.0 with your Linode’s IP address. This will bring you to your Prometheus instance’s expression browser.

  2. Verify that Prometheus is serving metrics by navigating to http://192.0.2.0:9090/metrics. Replace 192.0.2.0 with your Linode’s IP address. You should see a page of metrics similar to the example below.

  3. Grafana, the open source analytics and metric visualization tool, supports querying Prometheus. Consider deploying a Grafana instance with Marketplace Apps to create visualizations for your Prometheus metrics.

Prometheus Default Settings

  • Prometheus’ main configuration is located in the /etc/prometheus/prometheus.yml file.
  • This file includes a scrape configuration for Prometheus itself.
  • The scraping interval and evaluation interval are configured globally to be 15s. The scrape_interval parameter defines the time between each Prometheus scrape, while the evaluation_interval parameter is the time between each evaluation of Prometheus’ alerting rules.
  • The Prometheus Node Exporter is added and enabled. This third-party system exporter is used to collect hardware and OS metrics. Your Node Exporter metrics are sent to port 9100 of your Linode.
Note
Currently, Linode does not manage software and systems updates for Marketplace Apps. It is up to the user to perform routine maintenance on software deployed in this fashion.

More Information

You may wish to consult the following resources for additional information on this topic. While these are provided in the hope that they will be useful, please note that we cannot vouch for the accuracy or timeliness of externally hosted materials.

This page was originally published on


Your Feedback Is Important

Let us know if this guide was helpful to you.