Requirment 1. docker should be installed2. docker-compose also be installedInstallation of docker1. sudo apt-get install docker.io or sudo apt install docker.io2. docker --version3. sudo apt-get install docker-compose Creating a Configuration files of prometheus1. create a new file prometheus.yml and copy paste belowsudo nano ~/ prometheus.yml ...
Wednesday, September 2, 2020
How to Setup Monitoring for Docker Containers using Prometheus on Ubuntu 18.04
Cloud Network
September 02, 2020
Tags:
Docker,
Kubuntu,
Linux Mint,
Ubuntu

Tuesday, September 1, 2020
How to Install Prometheus using Docker on Ubuntu 18.04
Cloud Network
September 01, 2020
1. Create a new file sudo nano ~/prometheus.yml Add below lines or copy paste into prometheus file # A scrape configuration scraping a Node Exporter and the Prometheus server
# itself.
scrape_configs:
# Scrape Prometheus itself every 5 seconds.
- job_name: 'prometheus'
scrape_interval: 5s
static_configs:
- targets: ['localhost:9090']
...
Tags:
Docker
