dbluxo/quickstart-thanos

Repository files navigation

CI badge

Get up and running with Thanos, Prometheus, Grafana, Alertmanager, cAdvisor and node_exporter with a docker-compose.yaml file in less than 5 minutes.

git clone https://.com/dbluxo/quickstart-thanos
cd quickstart-thanos
docker-compose up -d

The following services will be installed (and some are accessible via browser):

ComponentDescriptionURL
prometheus-1Prometheus Server 1 (labels: cluster=chicago, replica=r1)http://localhost:9081/
prometheus-2Prometheus Server 2 (labels: cluster=chicago, replica=r2)http://localhost:9082/
prometheus-3Prometheus Server 3 (labels: cluster=seattle, replica=r1)http://localhost:9083/
prometheus-4Prometheus Server 4 (labels: cluster=seattle, replica=r2)http://localhost:9084/
thanos-sidecar-1Thanos Sidecar for Prometheus Server 1not accessible via browser
thanos-sidecar-2Thanos Sidecar for Prometheus Server 2not accessible via browser
thanos-sidecar-3Thanos Sidecar for Prometheus Server 3not accessible via browser
thanos-sidecar-4Thanos Sidecar for Prometheus Server 4not accessible via browser
thanos-query-frontendThanos Query Frontendhttp://localhost:10901/
thanos-querierThanos Querierhttp://localhost:10902/
thanos-rulerThanos Rulerhttp://localhost:10903/
thanos-bucket-webThanos Bucket Webhttp://localhost:10904/
thanos-store-gatewayThanos Store Gatewaynot accessible via browser
thanos-compactorThanos Compactornot accessible via browser
minioMinio - Amazon S3 Compatible Object Storagehttp://localhost:9000/
alertmanagerAlertmanagerhttp://localhost:9093/
grafanaGrafanahttp://localhost:3000/
cadvisorcAdvisorhttp://localhost:8080/
node-exporternode_exporterhttp://localhost:9100/

Grafana:

username - admin
password - foobar (Password is stored in the `/grafana/config monitoring` env file)

Minio:

Access Key - smth
Secret Key - Need8Chars (Keys are stored in the `docker-compose.yaml` file)

This project is intended to be a quick-start to get up and running with Thanos. Security has not been implemented in this project. It is inspired by:

About

A docker-compose stack for Thanos monitoring

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •