prometheus xai cli tool setup WIP

This commit is contained in:
2021-04-02 07:31:03 -04:00
parent 6fcc1866d4
commit 5b0746fcd6
15 changed files with 413 additions and 31 deletions

View File

@@ -12,9 +12,6 @@ services:
prometheus:
image: "dkregistry.xai-corp.net:5000/xaicorp/prometheus:latest"
build:
context: .
dockerfile: Dockerfile
ports:
- 9090:9090
# volumes:
@@ -26,31 +23,31 @@ services:
# fluentd-async-connect: 'true'
# tag: postgres
graphana:
image: grafana/grafana
ports:
- 3001:3000
environment:
GF_SECURITY_ADMIN_PASSWORD: sakas
# volumes:
# - /opt/shared/nextcloud/data:/var/www/html/data
postgres_exported:
image: wrouesnel/postgres_exporter
environment:
DATA_SOURCE_NAME: "postgresql://xaicorp_admin:snqioxni1sw@tasks.postgres:5432/?sslmode=disable"
fluentd_exporter:
image: vect0r/fluentd_exporter
# graphana:
# image: grafana/grafana
# ports:
# - 9309:9309
command:
- go-wrapper
- run
- -scrape_uri
- http://tasks.fluentd:24220/api/plugins.json
node_exporter:
image: quay.io/prometheus/node-exporter
pid: "host"
# - 3001:3000
# environment:
# GF_SECURITY_ADMIN_PASSWORD: sakas
## volumes:
## - /opt/shared/nextcloud/data:/var/www/html/data
#
# postgres_exported:
# image: wrouesnel/postgres_exporter
# environment:
# DATA_SOURCE_NAME: "postgresql://xaicorp_admin:snqioxni1sw@tasks.postgres:5432/?sslmode=disable"
#
# fluentd_exporter:
# image: vect0r/fluentd_exporter
## ports:
## - 9309:9309
# command:
# - go-wrapper
# - run
# - -scrape_uri
# - http://tasks.fluentd:24220/api/plugins.json
#
# node_exporter:
# image: quay.io/prometheus/node-exporter
# pid: "host"
#