Skip to content

Prometheus

In this article

Information

Prometheus is an open-source monitoring system designed to collect, store, and query metrics from various sources. It provides effective monitoring of the performance and status of IT infrastructure, applications, and services.

Key Features of the Prometheus Monitoring Stack

  • Metric Collection: Built-in mechanisms for collecting system metrics, including CPU load, RAM usage, and disk status.
  • Flexible Data Queries: PromQL query language for in-depth analysis and filtering of metrics.
  • TLS/SSL Certificate Management: Nginx, together with Certbot, automates the acquisition and renewal of Let's Encrypt SSL certificates for web services.
  • Open Source: Prometheus is an open-source project with an active community of developers and users.

Deployment Features

ID Compatible OS VM BM VGPU GPU Min CPU (Cores) Min RAM (Gb) Min HDD/SDD (Gb) Active
111 Ubuntu 22.04 + + + + 1 1 - Yes
  • Installation time 15-20 minutes along with OS;
  • Nginx+Certbot Configuration: /root/nginx/compose.yml;
  • Prometheus Configuration: /srv/prometheus/config/prometheus.yml;
  • Installed Software:
    • Docker CE;
    • Docker Compose;
    • Prometheus 3.0.

The web interface will be accessible at the link: https://prometheus{Server_ID_from_Invapi}.hostkey.in

Note

Unless otherwise specified, by default we install the latest release version of software from the developer's website or operating system repositories.

Getting Started After Deploying Prometheus

Service management is performed in the Prometheus web interface, the link to which is located in Invapi. Authentication credentials, which can be found either in the Information >> Tags section of the server control panel or in the email sent to you:

  • Link: in the webpanel tag;
  • Login and Password for server management: arrive in an email to your inbox when the server is ready after deployment.

Prometheus Dashboard

The Prometheus dashboard provides an intuitive user interface with numerous functional elements for effective monitoring and analysis of metric data. On this page, you'll find a menu for navigating key sections, settings for personalizing the interface, a field for entering metric data queries, and panels for displaying query results as tables or graphs.

Main Interface Elements:

  • Query String: A field labeled Enter expression (press Shift+Enter for newlines) for entering PromQL queries. To the right is a button Execute to execute the query.
  • Menu:
    • Alerts: section for viewing current alerts.
    • Status: Displays the status of the monitoring system.

The Expression (press Shift+Enter for newlines) string - a field for entering metric data queries, allows for multi-line queries and their execution by pressing the Execute button.

The Table and Graph options allow you to choose the way query results are displayed: as a table (Table) or graph (Graph).

Note

Detailed information on Prometheus's main settings can be found in the developer documentation.

Ordering a Prometheus Server via API

To install this software using the API, follow these instructions.