To bring up monitoring stack using docker
docker run -d --name prometheus-container -v /home/sndee/prometheus.yml:/etc/prometheus/prometheus.yml -e TZ=UTC -p 30090:9090 ubuntu/prometheus:2.33-22.04_beta
Note:- For more info prometheus
docker run -d --name=grafana -p 3000:3000 grafana/grafana:8.5.5
Note:- For more info Grafana
docker run -d -p 8086:8086 --name influxdb2 influxdb:1.8.6-alpine
Connect to container and execute below Influx Commands
docker exec -it influxdb2 bash
influx
CREATE DATABASE "jenkins" WITH DURATION 1825d REPLICATION 1 NAME "jenkins-retention"
SHOW DATABASES
USE <database_name>