Deploying Prometheus through the Linode Marketplace
Traducciones al EspañolEstamos traduciendo nuestros guías y tutoriales al Español. Es posible que usted esté viendo una traducción generada automáticamente. Estamos trabajando con traductores profesionales para verificar las traducciones de nuestro sitio web. Este proyecto es un trabajo en curso.
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.
Deploying the Prometheus Marketplace App
The Linode Marketplace allows you to easily deploy software on a Linode using the Linode Cloud Manager.
Log in to the Cloud Manager and select the Marketplace link from the left navigation menu. This displays the Linode Compute Create page with the Marketplace tab pre-selected.
Under the Select App section, select the app you would like to deploy.
Fill out all required Options for the selected app as well as any desired Advanced Options (which are optional). See the Configuration Options section for details.
Complete the rest of the form as discussed within the Getting Started > Create a Linode.
Click the Create Linode button. Once the Linode has provisioned and has fully powered on, wait for the software installation to complete. If the Linode is powered off or restarted before this time, the software installation will likely fail. To determine if the installation has completed, open the Linode’s Lish console and wait for the system login prompt to appear.
Follow the instructions within the Getting Started After Deployment section.
Software installation should complete within 2-5 minutes after the Linode has finished provisioning.
Configuration Options
For advice on filling out the remaining options on the Create a Linode form, see Getting Started > Create a Linode. That said, some options may be limited or recommended based on this Marketplace App:
- Supported distributions: Debian 9
- 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.
Open a browser and navigate to
http://192.0.2.0:9090/
. Replace192.0.2.0
with your Linode’s IP address. This will bring you to your Prometheus instance’s expression browser.Verify that Prometheus is serving metrics by navigating to
http://192.0.2.0:9090/metrics
. Replace192.0.2.0
with your Linode’s IP address. You should see a page of metrics similar to the example below.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
. Thescrape_interval
parameter defines the time between each Prometheus scrape, while theevaluation_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.
NoteCurrently, 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