* feat(docker/monitoring): adding the first monitoring tools from the docker file - The first tools is Grafana basicly the tool to supervise all the data * feat(monitoring/blackbox): adding initial configuration * feat(monitoring/grafana): adding the configuration to alerting on the discord channels * feat(monitoring/grafana): adding the grafana dashboard (docker monitoring) * feat(monitoring/grafana): adding the grafana dashboard (global monitoring) * feat(monitoring/grafana): adding the global configuration for dashboards * feat(monitoring/grafana): adding the prometheus configuration * feat(monitoring/prometheus): adding the configuration of prometheus as the main grafana sources * core(docker-compose): adding the monitoring part for the docker files * feat(monitoring/grafana): removing the monitoring global * feat(monitoring/prometheus): removing the blackbox - The self certificate is ruinning everything * core(docker-compose): removing the blackbox container * core(env/example): adding a env example * feat(monitoring/blackbox): adding initial configuration * test(nginx/location): adding a test to test blackbox * feat(monitoring/prometheus): adding blackbox to the prometheus configuration * feat(monitoring/grafana): adding the start of the global dashboard * feat(monitoring/blackbox): adding tls_configuration skip - The ssl certificate have to be self-signed * feat(monitoring/grafana): global is now checked and work w/ others services * feat(monitoring/prometheus): checking other services run * feat(nginx/conf): now http port will mirror the https - Usefull for intern docker communication * feat(auth/app): adding the /monitoring routes * feat(icons/app): adding the /monitoring routes * feat(user/app): adding the /monitoring routes * refactor(auth/src): linting the app.ts * refactor(icons/src): linting the app.ts * refactor(user/src): linting the app.ts
38 lines
861 B
YAML
38 lines
861 B
YAML
global:
|
|
scrape_interval: 15s
|
|
|
|
scrape_configs:
|
|
- job_name: 'prometheus'
|
|
static_configs:
|
|
- targets: ['monitoring-prometheus:9090']
|
|
|
|
- job_name: 'backend'
|
|
static_configs:
|
|
- targets: ['127.0.0.1:8888']
|
|
|
|
- job_name: 'cadvisor'
|
|
static_configs:
|
|
- targets: ['monitoring-cadvisor:8080']
|
|
|
|
- job_name: 'blackbox'
|
|
metrics_path: /probe
|
|
params:
|
|
module: [http_2xx]
|
|
|
|
static_configs:
|
|
- targets:
|
|
- http://nginx
|
|
- http://nginx/monitoring/ok
|
|
- http://auth/monitoring
|
|
- http://user/monitoring
|
|
- http://icons/monitoring
|
|
|
|
relabel_configs:
|
|
- source_labels: [__address__]
|
|
target_label: __param_target
|
|
|
|
- source_labels: [__param_target]
|
|
target_label: instance
|
|
|
|
- target_label: __address__
|
|
replacement: monitoring-blackbox:9115
|