PROMETHEUS

  • Linux
Please feel free to contact us
Go

About

Prometheus is an open-source system monitoring and alerting toolkit that is originally built at SoundCloud.

The Prometheus project comprehends multiple interlocking components entailing:

Prometheus Server: This serves as the system’s brain by gathering various metrics and store them in a time-series database. Prometheus majorly scrapes metrics from applications and services (like Docker containers) at designated intervals utilizing the Prometheus client libraries whereas other systems monitoring tools wait to receive information.

Prometheus Client Libraries: These libraries help users integrate their services by sending metrics and data in a format that can be understood by Prometheus.

Prometheus Alertmanager: This sends alerts and notifications to designated users when the tool senses anomalies, glitches, and performance issues.

Prometheus Visualisation Tools: It is used to display metrics and data in a human-readable format. Apart from this, various Prometheus users integrate the tool with Grafana which is an open-source web application for analytics and data visualization.

Features:

  • It has no reliance on distributed storage; single server nodes are autonomous
  • Time series collection happens via a pull model over HTTP
  • Pushing time series is supported via an intermediary gateway
  • Targets are discovered via service discovery or static configuration
  • Availability of multiple modes of graphing and dashboarding support
  1. Type virtual machines in the search.
  2. Under Services, select Virtual machines.
  3. In the Virtual machines page, select Add. The Create a virtual machine page opens.
  4. In the Basics tab, under Project details, make sure the correct subscription is selected and then choose to Create new resource group. Type myResourceGroup for the name.*.
  5. Under Instance details, type myVM for the Virtual machine name, choose East US for your Region, and choose Ubuntu 18.04 LTS for your Image. Leave the other defaults.
  6. Under Administrator account, select SSH public key, type your user name, then paste in your public key. Remove any leading or trailing white space in your public key.
  7. Under Inbound port rules > Public inbound ports, choose Allow selected ports and then select SSH (22) and HTTP (80) from the drop-down.
  8. Leave the remaining defaults and then select the Review + create button at the bottom of the page.
  9. On the Create a virtual machine page, you can see the details about the VM you are about to create. When you are ready, select Create.

It will take a few minutes for your VM to be deployed. When the deployment is finished, move on to the next section.

Connect to virtual machine

Create an SSH connection with the VM.

  1. Select the Connect button on the overview page for your VM.
  2. In the Connect to virtual machine page, keep the default options to connect by IP address over port 22. In Login using VM local account a connection command is shown. Select the button to copy the command. The following example shows what the SSH connection command looks like:

bashCopy

ssh azureuser@10.111.12.123

  1. Using the same bash shell you used to create your SSH key pair (you can reopen the Cloud Shell by selecting >_ again or going to https://shell.azure.com/bash), paste the SSH connection command into the shell to create an SSH session.

Usage/Deployment Instructions

Step 1: Access Prometheus from Azure Marketplace and click ON Get it now button.

Click on continue,

Click on create,

Step 2: Now to create a virtual machine, enter or select appropriate values for zone, machine type, resource group and so on as per your choice.

l

Step 3 :  Run

prometheus –config.file=/etc/prometheus/prometheus.yml

Step 4: Open Port 9090 from the Azure Console.

To access the application:

Step 5: Use the browser to access the application at http://<instance ip address:9090> replace <instance ip address> with the actual IP address of the running instance.

http://server-IP-or-Hostname:9090.

username :  niles

password : niles@12345678

Enjoy Your Application.

Submit Your Request

Captcha

Highlights

  • Promethus is open-source software for real-time systems and even monitoring and alerting.
  • Prometheus scrapes data from your applications and services at regular intervals.
  • Prometheus is a multi-dimensional data model with time series data identified by metric name and key/value pairs

Application Installed