From a9ccc3fca56993141f06845848fb72c1bc66cc8f Mon Sep 17 00:00:00 2001 From: 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 Date: Mon, 15 Apr 2024 12:21:54 +0200 Subject: [PATCH] prometheus and grafana + http config --- docker-compose.yml | 6 +++--- gatewayservice/monitoring/prometheus/prometheus.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index afc1319..82d4331 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -85,14 +85,14 @@ services: depends_on: - gatewayservice ports: - - "3000:3000" + - "80:80" # platform: linux/arm64 prometheus: image: prom/prometheus container_name: prometheus-${teamname:-defaultASW} - profiles: ["dev"] + profiles: ["dev","prod"] networks: - mynetwork volumes: @@ -107,7 +107,7 @@ services: grafana: image: grafana/grafana container_name: grafana-${teamname:-defaultASW} - profiles: ["dev"] + profiles: ["dev","prod"] networks: - mynetwork volumes: diff --git a/gatewayservice/monitoring/prometheus/prometheus.yml b/gatewayservice/monitoring/prometheus/prometheus.yml index 3093655..7255888 100644 --- a/gatewayservice/monitoring/prometheus/prometheus.yml +++ b/gatewayservice/monitoring/prometheus/prometheus.yml @@ -1,6 +1,6 @@ global: scrape_interval: 5s scrape_configs: - - job_name: "example-nodejs-app" + - job_name: "WIQ" static_configs: - targets: ["gatewayservice:8000"] \ No newline at end of file