From 06e00b407f528666190567498e68f62c879bec1f Mon Sep 17 00:00:00 2001 From: hagen1778 Date: Fri, 6 Sep 2024 16:35:53 +0200 Subject: [PATCH] wip Signed-off-by: hagen1778 --- deployment/docker/docker-compose.yml | 22 ++++++++++++++++++++++ deployment/docker/monitoring.yml | 3 +++ 2 files changed, 25 insertions(+) diff --git a/deployment/docker/docker-compose.yml b/deployment/docker/docker-compose.yml index e4f88a59b..f4c6e5ffa 100644 --- a/deployment/docker/docker-compose.yml +++ b/deployment/docker/docker-compose.yml @@ -30,6 +30,26 @@ services: networks: - vm_net restart: always + + vmagent-without-aggregation: + container_name: vmagentdata-without-aggregation + image: victoriametrics/vmagent:v1.103.0 + depends_on: + - "victoriametrics" + ports: + - 8429 + volumes: + - vmagentdata-without-aggregation:/vmagentdata + - ./prometheus.yml:/etc/prometheus/prometheus.yml + command: + - "--promscrape.config=/etc/prometheus/prometheus.yml" + - "--remoteWrite.url=http://victoriametrics:8428/api/v1/write" + - "--promscrape.config.strictParse=false" + - "--promscrape.maxScrapeSize=9999999999999" + networks: + - vm_net + restart: always + vmagent-with-aggregation: container_name: vmagent-with-aggregation image: victoriametrics/vmagent:v1.103.0 @@ -46,6 +66,7 @@ services: - "--streamAggr.config=/etc/prometheus/stream_aggr_config.yml" - "--remoteWrite.url=http://victoriametrics:8428/api/v1/write" - "--promscrape.config.strictParse=false" + - "--promscrape.maxScrapeSize=9999999999999" networks: - vm_net restart: always @@ -106,6 +127,7 @@ services: volumes: prometheus: {} vmagent-monitoring: {} + vmagentdata-without-aggregation: {} vmagentdata-with-aggregation: {} vmdata: {} grafanadata: {} diff --git a/deployment/docker/monitoring.yml b/deployment/docker/monitoring.yml index 298a496d0..d76713ece 100644 --- a/deployment/docker/monitoring.yml +++ b/deployment/docker/monitoring.yml @@ -11,6 +11,9 @@ scrape_configs: - job_name: 'vmagent-with-aggregation' static_configs: - targets: ['vmagent-with-aggregation:8429'] +- job_name: 'vmagent-without-aggregation' + static_configs: + - targets: ['vmagent-without-aggregation:8429'] - job_name: 'victoriametrics' static_configs: - targets: ['victoriametrics:8428'] \ No newline at end of file